Files
modoboa/templates/common/genericform.html
T
Antoine Nguyen 9cde410ae4 * Many changes about internationalization (using gettext_noop when needed for example)
* Some strings were not detected by makemessages (for example in javascript files, behind comments...). There are still some issues with that but I think I'll have to wait a future Django release.
* Support for per-user language selection is almost done.

see #166
2011-09-14 14:18:46 +02:00

13 lines
491 B
HTML

{% load i18n %}
{% for field in form %}
<div class="row clearfix">
{% if field.help_text %}
<div id="{{ field.name }}_helptext" class="tip">
<div class="tip-title">{% trans "Help" %}</div>
<div class="tip-text">{% trans field.help_text %}</div>
</div>
{% endif %}
<label for="id_{{ field.html_name }}">{% trans field.label %}</label><div class="input_container clearfix"> {{ field }}</div> {% ifequal noerrors False %}{{ field.errors }}{% endifequal %}
</div>
{% endfor %}