From 12a4122d9192079ae95e1f1de640ea42bee232d6 Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Tue, 7 Jul 2015 11:54:29 +0200 Subject: [PATCH] Fix rendering for radio form elements. --- src/formrender.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/formrender.py b/src/formrender.py index 980f982..109cffa 100644 --- a/src/formrender.py +++ b/src/formrender.py @@ -55,8 +55,8 @@ class FormRender(object): u'cols="{cols}" minlength="{minlen}" maxlength="{maxlen}" ' u'style="{style}" class="{classes}">{value}', "radio_option": u'{label}
', + u'value="{value}" class="{classes}" ' + u'style="{style}">{label}
', "select_option": u'', "select": u'