diff --git a/modules/installed/lib/forms.py b/modules/installed/lib/forms.py index 2be810f18..827e11048 100644 --- a/modules/installed/lib/forms.py +++ b/modules/installed/lib/forms.py @@ -142,6 +142,16 @@ class Form(): %s \n""" % (label, name, id, checked) + def radiobutton(self, label='', name='', id='', value='', checked=''): + name, id = self.name_or_id(name, id) + if checked: + checked = 'checked="on"' + self.text += """ +