0001-forms-add-empty-span-to-checkbox-widget-for-custom-C.patch
wcs/qommon/form.py | ||
---|---|---|
231 | 231 |
attrs.update(self.attrs) |
232 | 232 |
return htmltag("input", xml_end=True, type="checkbox", name=self.name, |
233 | 233 |
value="yes", checked=self.value and "checked" or None, |
234 |
**attrs) |
|
234 |
**attrs) + htmltext('<span></span>') # for custom style
|
|
235 | 235 |
CheckboxWidget.render_content = checkbox_render_content |
236 | 236 | |
237 | 237 | |
238 |
- |