summaryrefslogtreecommitdiff
path: root/archaeological_finds/forms_treatments.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-11-15 10:52:02 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-02-19 14:45:55 +0100
commit7a3da08eabf4767284b370e670e1953abb49973a (patch)
treebfa978b6b80b32bc2f6e4af1ea4dabbdfb8b9ebd /archaeological_finds/forms_treatments.py
parent3556c98cd2fc9b064fa026733ee80fdd8fcbc993 (diff)
downloadIshtar-7a3da08eabf4767284b370e670e1953abb49973a.tar.bz2
Ishtar-7a3da08eabf4767284b370e670e1953abb49973a.zip
🐛 fix permissions menu evaluation - fix forms
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}