summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
authorCefin <kevon@tuta.io>2021-11-02 17:39:23 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-07-08 09:58:49 +0200
commit3cae76dd710b9e8bcf57ccc609fdd19a686a07ea (patch)
tree6cc023b4e1895c63d689fa06f4c662904f61de99 /archaeological_operations/forms.py
parent70c8869513d947dc58cc91bfb0c89773dc846ca3 (diff)
downloadIshtar-3cae76dd710b9e8bcf57ccc609fdd19a686a07ea.tar.bz2
Ishtar-3cae76dd710b9e8bcf57ccc609fdd19a686a07ea.zip
add remains on bulk update on EA search #5174
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index 3494c29fc..bdc351c35 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -2034,11 +2034,18 @@ class QAArchaeologicalSiteFormMulti(QAForm):
)
qa_cultural_attributions = forms.ChoiceField(
label=_("Cultural attributions"),
- choices=[]
+ required=False,
+ choices=[],
+ )
+ qa_remains = forms.ChoiceField(
+ label=("Remains"),
+ required=False,
+ choices=[],
)
TYPES = [
FieldType('qa_cultural_attributions', models.CulturalAttributionType),
+ FieldType('qa_remains', models.RemainType),
]
def _get_qa_towns(self, value):