Fix bug where each radio button would have the same value.

pull/7/head 1.5
Ferry Boender 5 years ago
parent e0c53eb9ad
commit cd64098a24
  1. 2
      src/formrender.py

@ -181,7 +181,7 @@ class FormRender(object):
if o_value == value: if o_value == value:
checked = 'checked' checked = 'checked'
radio_elems.append(tpl_option.format(name=name, radio_elems.append(tpl_option.format(name=name,
value=value, value=o_value,
checked=checked, checked=checked,
label=o_label, label=o_label,
classes=classes, classes=classes,

Loading…
Cancel
Save