blob: 2cc26d8bbe60740686f926c10a183b636d6c4c52 [file] [log] [blame]
{% for group, fields in form %}
<fieldset
{% if not group %}
class="nolegend"
{% endif %}
>
{% if group %}
<legend><span>{{ group }}</span></legend>
{% endif %}
{% for field in fields %}
<div id="form_row_{{ field.name }}" class="row {{ field.div_class }}">
{{ field.render }}
</div>
{% endfor %}
</fieldset>
{% endfor %}