mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-21 06:18:45 +02:00
10 lines
524 B
HTML
10 lines
524 B
HTML
{% load i18n %}
|
|
<div class="control-group{% if haserror %} error{% endif %}">
|
|
<label class="control-label">{{ label }}</label>{% if help_text %}<a href="#" class="help pull-left" data-original-title="{% trans 'Help:' %} {{ label }}" data-content="{{ help_text }}" rel="popover">?</a>{% endif %}
|
|
<div class="controls spaced">
|
|
{% for field in group %}
|
|
{{ field }}{% if field.errors %}<p class="help-block">{% for error in field.errors %}{{ error|safe }}{% endfor %}</p>{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|