Skip to content

Commit

Permalink
Errors cannot be rendered safe, see #pydannygh-98
Browse files Browse the repository at this point in the history
  • Loading branch information
maraujop committed Sep 17, 2011
1 parent afb7fd9 commit 56ccda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uni_form/templates/uni_form/layout/multifield.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% for field in multifield.bound_fields %}
{% if field.errors %}
{% for error in field.errors %}
<p id="error_{{ forloop.counter }}_{{ field.auto_id }}" class="errorField">{{ error|safe }}</p>
<p id="error_{{ forloop.counter }}_{{ field.auto_id }}" class="errorField">{{ error }}</p>
{% endfor %}
{% endif %}
{% endfor %}
Expand Down

0 comments on commit 56ccda1

Please sign in to comment.