summaryrefslogtreecommitdiff
path: root/archaeological_context_records/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_context_records/forms.py')
-rw-r--r--archaeological_context_records/forms.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py
index fe6534ea8..057d2996d 100644
--- a/archaeological_context_records/forms.py
+++ b/archaeological_context_records/forms.py
@@ -157,6 +157,12 @@ class RecordSelect(GeoItemSelect, PeriodSelect):
label=_("Search within related operations"), choices=[]
)
unit = forms.ChoiceField(label=_("Type"), choices=[])
+ excavator = forms.IntegerField(
+ label=_("Excavator"),
+ widget=widgets.JQueryAutoComplete(
+ reverse_lazy('autocomplete-person'),
+ associated_model=Person),
+ validators=[valid_id(Person)], required=False)
activity = forms.ChoiceField(label=_("Activity"), choices=[])
identifications = forms.ChoiceField(label=_("Identification"), choices=[])
cultural_attributions = forms.ChoiceField(