summaryrefslogtreecommitdiff
path: root/archaeological_finds/forms_treatments.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/forms_treatments.py')
-rw-r--r--archaeological_finds/forms_treatments.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_finds/forms_treatments.py b/archaeological_finds/forms_treatments.py
index 4731e91e2..be1921568 100644
--- a/archaeological_finds/forms_treatments.py
+++ b/archaeological_finds/forms_treatments.py
@@ -72,7 +72,7 @@ class TreatmentSelect(DocumentItemSelect):
models.TreatmentType.get_help()
-class TreatmentFormSelection(forms.Form):
+class TreatmentFormSelection(CustomForm, forms.Form):
SEARCH_AND_SELECT = True
form_label = _("Treatment search")
associated_models = {'pk': models.Treatment}
@@ -667,7 +667,7 @@ class TreatmentFileSelect(DocumentItemSelect):
self.fields['type'].help_text = models.TreatmentFileType.get_help()
-class TreatmentFileFormSelection(forms.Form):
+class TreatmentFileFormSelection(CustomForm, forms.Form):
SEARCH_AND_SELECT = True
form_label = _("Treatment request search")
associated_models = {'pk': models.TreatmentFile}