summaryrefslogtreecommitdiff
path: root/archaeological_finds/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/forms.py')
-rw-r--r--archaeological_finds/forms.py23
1 files changed, 20 insertions, 3 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py
index 6659da821..e2b09af90 100644
--- a/archaeological_finds/forms.py
+++ b/archaeological_finds/forms.py
@@ -323,6 +323,7 @@ class BasicFindForm(MuseumForm, CustomForm, ManageOldType):
"workshop_movement_style",
"description",
"public_description",
+ "comparanda",
"get_first_base_find__discovery_method",
"is_complete",
"material_type",
@@ -490,6 +491,9 @@ class BasicFindForm(MuseumForm, CustomForm, ManageOldType):
public_description = forms.CharField(
label=_("Public description"), widget=forms.Textarea, required=False
)
+ comparanda = forms.CharField(
+ label=_("Comparanda"), widget=forms.Textarea, required=False
+ )
get_first_base_find__discovery_method = forms.ChoiceField(
label=_("Discovery method"), required=False, choices=[]
)
@@ -751,11 +755,13 @@ class FindForm(BasicFindForm):
"museum_allocation_date",
"museum_inventory_transcript",
"description",
+ "comparanda",
"public_description",
"get_first_base_find__discovery_method",
"get_first_base_find__comment",
"get_first_base_find__discovery_date",
"get_first_base_find__discovery_date_taq",
+ "get_first_base_find__context_record_comment",
"get_first_base_find__batch",
"is_complete",
"material_type",
@@ -817,6 +823,10 @@ class FindForm(BasicFindForm):
get_first_base_find__discovery_date_taq = DateField(
label=_("Discovery date (end)"), required=False
)
+ get_first_base_find__context_record_comment = forms.CharField(
+ label=_("Details on context record"), required=False,
+ widget=forms.Textarea
+ )
get_first_base_find__batch = forms.ChoiceField(
label=_("Batch/object"), choices=[], required=False
)
@@ -1746,6 +1756,7 @@ class FindSelect(MuseumForm, GeoItemSelect, DatingSelect):
"base_finds__comment",
"base_finds__discovery_date",
"base_finds__discovery_date_taq",
+ "base_finds__context_record_comment",
],
),
(
@@ -1947,10 +1958,16 @@ class FindSelect(MuseumForm, GeoItemSelect, DatingSelect):
)
description = forms.CharField(label=_("Description"))
- base_finds__discovery_method = forms.ChoiceField(label=_("Discovery method"), choices=[])
- base_finds__comment = forms.CharField(label=_("Base find - Comment on the circumstances of discovery"))
- base_finds__discovery_date = DateField(label=_("Discovery date (exact or beginning)"))
+ comparanda = forms.CharField(label=_("Comparanda"))
+ base_finds__discovery_method = forms.ChoiceField(label=_("Discovery method"),
+ choices=[])
+ base_finds__comment = forms.CharField(
+ label=_("Base find - Comment on the circumstances of discovery"))
+ base_finds__discovery_date = DateField(
+ label=_("Discovery date (exact or beginning)"))
base_finds__discovery_date_taq = DateField(label=_("Discovery date (end)"))
+ base_finds__context_record_comment = forms.CharField(
+ label=_("Details on context record"))
base_finds__batch = forms.ChoiceField(label=_("Batch/object"), choices=[])
is_complete = forms.NullBooleanField(label=_("Is complete?"))
material_types = forms.IntegerField(