summaryrefslogtreecommitdiff
path: root/postgresqleu/util/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'postgresqleu/util/widgets.py')
-rw-r--r--postgresqleu/util/widgets.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/postgresqleu/util/widgets.py b/postgresqleu/util/widgets.py
index 34a9cf0d..0dc71695 100644
--- a/postgresqleu/util/widgets.py
+++ b/postgresqleu/util/widgets.py
@@ -58,3 +58,11 @@ class AdminJsonWidget(PrettyPrintJsonWidget):
class StaticTextWidget(TextInput):
def render(self, name, value, attrs=None, renderer=None):
return mark_safe(value)
+
+
+class Bootstrap4CheckboxSelectMultiple(forms.CheckboxSelectMultiple):
+ template_name = 'forms/widgets/bs4_checkbox_select.html'
+
+
+class Bootstrap4HtmlDateTimeInput(forms.DateTimeInput):
+ template_name = 'forms/widgets/bs4_datetime_input.html'