Fixed HTML markup problem.

pull/7/head
Ferry Boender 8 years ago
parent 2ea31d98ff
commit 7bd6809fff
  1. 2
      src/formrender.py

@ -62,7 +62,7 @@ class FormRender(object):
"select": u'<select name="{name}" class="{classes}" ' "select": u'<select name="{name}" class="{classes}" '
u'style="{style}">{select_elems}</select>', u'style="{style}">{select_elems}</select>',
"checkbox": u'<input {checked} type="checkbox" name="{name}" ' "checkbox": u'<input {checked} type="checkbox" name="{name}" '
u'value="on" class="{classes} style="{style}"" />', u'value="on" class="{classes}" style="{style}" />',
} }
def __init__(self, form_def): def __init__(self, form_def):

Loading…
Cancel
Save