Skip to content

Commit f60368a

Browse files
authored
Merge pull request hack4impact#153 from hack4impact/form_macro_bug
Fix RadioField bug in FormMacros
2 parents 5676d8b + da2bf2b commit f60368a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/templates/macros/form_macros.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,10 @@
9898
</div>
9999
{% elif field.type == 'RadioField' %}
100100
{% for item in field %}
101+
{{ field.label }}
101102
<div class="ui radio checkbox">
102-
{{ field }}
103-
{{ field.label }}
103+
{{ item }}
104+
{{ item.label }}
104105
</div>
105106
{% endfor %}
106107
{% elif field.type == 'SubmitField' %}

0 commit comments

Comments
 (0)