Skip to content

Commit

Permalink
template: field macro: show field errors on 1 line each
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertrand Mathieu committed Oct 7, 2014
1 parent 6d9f5bc commit 0c9e91b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abilian/web/templates/macros/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
{%- endif %}

{%- if field.errors %}
<span class="help-inline text-danger">{{ field.errors|join(', ') }}</span>
<span class="help-inline text-danger">{{ field.errors|join('<br />'|safe) }}</span>
{% endif %}

{%- if field.description %}
Expand Down

0 comments on commit 0c9e91b

Please sign in to comment.