don't translate field errors - they should be in correct language by default.

This commit is contained in:
Andreas Kotowicz 2011-12-09 17:20:32 +01:00
parent 1d0ac58391
commit 885c03c514

View File

@ -16,7 +16,7 @@
{% else %}
<dt><label for='id_{{ field.name }}'>{% trans field.label %}</label>{% if not field.field.required %} <span class='form_optional'>{% trans "(Optional)" %}</span>{% endif %}</dt>
<dd>{{ field }}</dd>
{% if field.errors %}<dd class='error'>{% trans field.errors %}</dd>{% endif %}
{% if field.errors %}<dd class='error'>{{ field.errors }}</dd>{% endif %}
{% if field.help_text %}<dd class='form_help_text'>{% trans field.help_text %}</dd>{% endif %}</label>
{% endif %}
{% endfor %}