Files
modoboa/templates/common/generic_field.html
T
Antoine Nguyen a7ad90aee9 wip: UI refactoring
* Webmail: better message display.
* Webmail: added optional Cc and Cci fields.

see #204
2012-04-23 10:46:29 +02:00

7 lines
413 B
HTML

<div class="control-group {% if field.errors %}error{% endif %}"{% if hidden %}style="display: none"{% endif %}>
{% if field.label %}<label class="control-label" for="id_{{ field.html_name }}">{{ field.label }}</label>{% endif %}
<div class="controls spaced">
{{ field }}{% if field.errors %}<p class="help-block">{% for error in field.errors %}{{ error|safe }}{% endfor %}</p>{% endif %}
</div>
</div>