summaryrefslogtreecommitdiff
path: root/ishtar_common/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/widgets.py')
-rw-r--r--ishtar_common/widgets.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py
index efea07065..1f5a169ba 100644
--- a/ishtar_common/widgets.py
+++ b/ishtar_common/widgets.py
@@ -479,6 +479,10 @@ class DeleteSwitchWidget(SwitchWidget):
extra_label = _("Delete")
+class BSClearableFileInput(ClearableFileInput):
+ template_name = "widgets/clearable_file_input.html"
+
+
class ImageFileInput(ClearableFileInput):
template_name = "widgets/image_input.html"
NO_FORM_CONTROL = True