blob: 6f6b799a8b770b19e23ea6f237b15ede1b70562e [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="form-row {{ field.div_class }}">
{{ field.render }}
</div>
{% endfor %}
</fieldset>
{% endfor %}