From f92f1c81233994ddeaf479869f2f87bbd6a2cf53 Mon Sep 17 00:00:00 2001 From: Elias Showk Date: Wed, 25 Apr 2018 15:56:33 +0200 Subject: [PATCH] create template for CheckboxesWidget (#23413) --- wcs/qommon/form.py | 22 ------------------- .../qommon/forms/widgets/checkboxes.html | 17 ++++++++++++++ 2 files changed, 17 insertions(+), 22 deletions(-) create mode 100644 wcs/qommon/templates/qommon/forms/widgets/checkboxes.html diff --git a/wcs/qommon/form.py b/wcs/qommon/form.py index 49df467e..4e02888e 100644 --- a/wcs/qommon/form.py +++ b/wcs/qommon/form.py @@ -1109,28 +1109,6 @@ class CheckboxesWidget(CompositeWidget): def has_error(self, request=None): return Widget.has_error(self, request=request) - def render_content(self): - r = TemplateIO(html=True) - if self.inline: - r += htmltext('