summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCefin <kevon@tuta.io>2021-11-02 17:39:23 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-11-16 17:04:41 +0100
commit059cb2b4e3a2f836bbb31a957a8f28b39f141fbd (patch)
tree75d4b0e50418c78ba6d371e7c3f995f95e3daa04
parent59cd273e9b7f530320dd6bf3377c5d60bf5195da (diff)
downloadIshtar-059cb2b4e3a2f836bbb31a957a8f28b39f141fbd.tar.bz2
Ishtar-059cb2b4e3a2f836bbb31a957a8f28b39f141fbd.zip
add remains on bulk update on EA search #5174
-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 fc915c123..b43bba5ca 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):