diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-02-12 11:21:56 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-02-19 14:45:57 +0100 |
commit | 17d286b114f003c4dbf7865d668ab41b63bcec4f (patch) | |
tree | 64147de58a77abb71409fb5b1e71a61b9405512c /archaeological_finds/forms_treatments.py | |
parent | 7313642f0ebcdfc83cc1d28906e618489594e8a9 (diff) | |
download | Ishtar-17d286b114f003c4dbf7865d668ab41b63bcec4f.tar.bz2 Ishtar-17d286b114f003c4dbf7865d668ab41b63bcec4f.zip |
✨ exhibtion: add description field - basket sheet: display associated exhibitions
Diffstat (limited to 'archaeological_finds/forms_treatments.py')
-rw-r--r-- | archaeological_finds/forms_treatments.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_finds/forms_treatments.py b/archaeological_finds/forms_treatments.py index 0ac7ee7d3..936834267 100644 --- a/archaeological_finds/forms_treatments.py +++ b/archaeological_finds/forms_treatments.py @@ -918,6 +918,8 @@ class ExhibitionSelect(DocumentItemSelect): reverse_lazy('autocomplete-person'), associated_model=Person), validators=[valid_id(Person)]) + description = forms.CharField(label=_("Description")) + comment = forms.CharField(label=_("Comment")) TYPES = [ FieldType("exhibition_type", models.ExhibitionType), ] @@ -963,6 +965,8 @@ class ExhibitionForm(forms.ModelForm, CustomForm, ManageOldType): widget=widgets.JQueryAutoComplete( reverse_lazy('autocomplete-findbasket'), associated_model=models.FindBasket), required=False) + description = forms.CharField(label=_("Description"), + widget=forms.Textarea, required=False) comment = forms.CharField(label=_("Comment"), widget=forms.Textarea, required=False) |