summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-12-09 11:15:29 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-12-09 11:15:29 +0100
commit07625e43bd16326588c1df55216a185f2250ab8c (patch)
treea94f9ed06618b65adc3b7236c8f3cf292a67e774 /archaeological_operations/forms.py
parent7aef1591ce842c4223298ebbe221519b542b6285 (diff)
downloadIshtar-07625e43bd16326588c1df55216a185f2250ab8c.tar.bz2
Ishtar-07625e43bd16326588c1df55216a185f2250ab8c.zip
Site: add other reference
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index 32ec6f826..18534fe9d 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -1221,6 +1221,8 @@ class ArchaeologicalSiteForm(ManageOldType):
HEADERS = {}
reference = forms.CharField(label=_(u"Reference"), max_length=200)
name = forms.CharField(label=_(u"Name"), max_length=200, required=False)
+ other_reference = forms.CharField(label=_(u"Other reference"),
+ required=False)
periods = forms.MultipleChoiceField(
label=_("Periods"), choices=[], widget=widgets.Select2Multiple,
required=False)
@@ -1374,6 +1376,8 @@ class SiteSelect(HistorySelect):
reference = forms.CharField(label=_(u"Reference"), max_length=200,
required=False)
name = forms.CharField(label=_(u"Name"), max_length=200, required=False)
+ other_reference = forms.CharField(label=_("Other reference"),
+ max_length=200, required=False)
periods = forms.ChoiceField(label=_(u"Periods"), choices=[], required=False)
remains = forms.ChoiceField(label=_(u"Remains"), choices=[], required=False)
cultural_attributions = forms.ChoiceField(
@@ -1487,6 +1491,8 @@ class SiteForm(CustomForm, ManageOldType):
pk = forms.IntegerField(required=False, widget=forms.HiddenInput)
reference = forms.CharField(label=_(u"Reference"), max_length=200)
name = forms.CharField(label=_(u"Name"), max_length=200, required=False)
+ other_reference = forms.CharField(label=_("Other reference"),
+ required=False)
period = forms.MultipleChoiceField(
label=_("Periods"), choices=[], widget=widgets.Select2Multiple,
required=False)