From e4454fdbf47a44de9de725ed733d12b604855da6 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 11 Mar 2019 18:55:33 +0100 Subject: Site translations in forms --- archaeological_warehouse/forms.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'archaeological_warehouse/forms.py') diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py index 4550970c9..99855bf0b 100644 --- a/archaeological_warehouse/forms.py +++ b/archaeological_warehouse/forms.py @@ -351,6 +351,12 @@ class ContainerSelect(HistorySelect): FieldType('treatment_emergency', TreatmentEmergencyType), FieldType('container_type', models.ContainerType) ] + SITE_KEYS = { + "archaeological_sites": "attached-to-operation", + "archaeological_sites_name": "name-attached-to-operation", + "archaeological_sites_context_record": "attached-to-cr", + "archaeological_sites_context_record_name": "name-attached-to-cr", + } ContainerFormSelection = get_form_selection( -- cgit v1.2.3