Commits

Diego Búrigo Zacarão  committed aaf20d1

Made form_as_table_rows display non_field_errors

  • Participants
  • Parent commits 9f2a6b2

Comments (0)

Files changed (1)

File transifex/txcommon/templates/form_as_table_rows.html

 {% load i18n %}
 {% load txcommontags %}
 {% if form %}
+    {% if form.non_field_errors %}
+        <ul class="fielderrors">{{ form.non_field_errors }}</ul>
+    {% endif %}
     {% for field in form %}
         {% if field.is_hidden %}
             {{ field }}