mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Tips are now absolutly positioned and appear when a field gets focused. (at the bottom of each row)
13 lines
383 B
HTML
13 lines
383 B
HTML
{% load i18n %}
|
|
{% for field in form %}
|
|
<div class="row">
|
|
{% if field.help_text %}
|
|
<div id="{{ field.name }}_helptext" class="tip">
|
|
<div class="tip-title">{% trans "Help" %}</div>
|
|
<div class="tip-text">{{ field.help_text}}</div>
|
|
</div>
|
|
{% endif %}
|
|
{{ field.label_tag }} {{ field }} {% ifequal noerrors False %}{{ field.errors }}{% endifequal %}
|
|
</div>
|
|
{% endfor %}
|