From cd64098a24ebf0facfb628849a8c08a8ab1c3a8a Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Tue, 16 Jul 2019 14:10:06 +0200 Subject: [PATCH] Fix bug where each radio button would have the same value. --- src/formrender.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/formrender.py b/src/formrender.py index bd623b9..a38dfad 100644 --- a/src/formrender.py +++ b/src/formrender.py @@ -181,7 +181,7 @@ class FormRender(object): if o_value == value: checked = 'checked' radio_elems.append(tpl_option.format(name=name, - value=value, + value=o_value, checked=checked, label=o_label, classes=classes,