diff --git a/apps/common/templates/generic_form_instance.html b/apps/common/templates/generic_form_instance.html index 13dbf0c933..a6c5b688e0 100755 --- a/apps/common/templates/generic_form_instance.html +++ b/apps/common/templates/generic_form_instance.html @@ -34,7 +34,7 @@ {% for field in form.visible_fields %}
{% if field.errors %}
{% endif %} - + {% if field.errors %}{% for error in field.errors %}{{ error }}{% if not forloop.last %} | {% endif %}{% endfor %}
{% endif %} {{ field }} {% if field.help_text %}{{ field.help_text }}{% endif %} diff --git a/apps/common/templates/generic_form_subtemplate.html b/apps/common/templates/generic_form_subtemplate.html index 6d92098022..4cee0dac94 100755 --- a/apps/common/templates/generic_form_subtemplate.html +++ b/apps/common/templates/generic_form_subtemplate.html @@ -27,7 +27,7 @@ {% endif %} - {% if submit_method != 'GET' and submit_method != 'get' %} + {% if submit_method != "GET" and submit_method != "get" %} {% csrf_token %} {% endif %} @@ -45,7 +45,7 @@ {% for field in formset.forms.0.visible_fields %} - {{ field.label_tag }}{% if field.field.required and not read_only %} ({% trans 'required' %}){% endif %} + {{ field.label_tag }}{% if field.field.required and not read_only %} ({% trans "required" %}){% endif %} {#{% if field.help_text %}{{ field.help_text }}{% endif %}#} {% endfor %} @@ -67,7 +67,7 @@ {% if not read_only %}