diff options
Diffstat (limited to 'archaeological_context_records/forms.py')
-rw-r--r-- | archaeological_context_records/forms.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py index 0971fe363..f4176b619 100644 --- a/archaeological_context_records/forms.py +++ b/archaeological_context_records/forms.py @@ -159,7 +159,7 @@ class RecordSelect(GeoItemSelect, PeriodSelect): activity = forms.ChoiceField(label=_("Activity"), choices=[]) identifications = forms.ChoiceField(label=_("Identification"), choices=[]) cultural_attributions = forms.ChoiceField( - label=_("Cultural attribution"), choices=[], required=False) + label=_("Cultural attribution"), choices=[]) documentations = forms.ChoiceField(label=_("Documentation")) description = forms.CharField(label=_("Description")) comment = forms.CharField(label=_("General comment")) @@ -171,6 +171,11 @@ class RecordSelect(GeoItemSelect, PeriodSelect): label=_("Search within relations"), choices=[] ) excavation_technics = forms.ChoiceField(label=_("Excavation techniques"), choices=[]) + structures = forms.ChoiceField(label=_("Structure"), choices=[]) + textures = forms.ChoiceField(label=_("Texture"), choices=[]) + inclusions = forms.ChoiceField(label=_("Inclusions"), choices=[]) + colors = forms.ChoiceField(label=_("Colors"), choices=[]) + details_on_color = forms.CharField(label=_("Details on color")) TYPES = PeriodSelect.TYPES + [ FieldType('cultural_attributions', models.CulturalAttributionType), @@ -181,6 +186,10 @@ class RecordSelect(GeoItemSelect, PeriodSelect): FieldType("activity", models.ActivityType), FieldType("identifications", models.IdentificationType), FieldType("documentations", models.DocumentationType), + FieldType("structures", models.StructureType), + FieldType("textures", models.TextureType), + FieldType("inclusions", models.InclusionType), + FieldType("colors", models.ColorType), ] + GeoItemSelect.TYPES SITE_KEYS = {"archaeological_site": None} |