Files
modoboa/templates/common/generic_fields_group.html
T
Antoine Nguyen a295aa1ab6 wip: Global user interface improvment
* Use of jQuery in place of Mootools
* Most of the custom mootools plugins have been ported to jQuery
* Use of bootstrap from Twitter in place of the old CSS
* Most of the admin templates have been reworked
* The sievefilters extension has been ported
* The postfix autoreply extension is almost done
* more...

see #204
2012-03-19 15:13:01 +01:00

9 lines
340 B
HTML

<div class="control-group{% if haserror %} error{% endif %}">
<label class="control-label">{{ label }}</label>
<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>