Skip to content

Commit

Permalink
Only rendering general errors if form_show_errors is set to True
Browse files Browse the repository at this point in the history
  • Loading branch information
maraujop committed Feb 16, 2012
1 parent 5214480 commit 765fcb6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crispy_forms/templates/bootstrap/uni_form.html
@@ -1,4 +1,6 @@
{% include "bootstrap/errors.html" %}
{% if form_show_errors %}
{% include "bootstrap/errors.html" %}
{% endif %}
{% for field in form %}
{% include "bootstrap/field.html" %}
{% endfor %}

0 comments on commit 765fcb6

Please sign in to comment.