This commit is contained in:
James Robert 2013-05-06 16:19:21 -03:00
parent 02743e9e16
commit c0170c23ba

View File

@ -18,9 +18,12 @@
</div>
{% else %}{% if field|is_radio %}
<div class="controls">
<label class="radio">
{{ field }} <span>{{ field.label }}</span>
</label>
{% for _radiobtn in field %}
<label class="radio">
{{ _radiobtn.choice_label }}
<span class="radio">{{ _radiobtn.tag }}</span>
</label>
{% endfor %}
{% for error in field.errors %}
<span class="help-inline">{{ error }}</span>