diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-07-31 11:51:53 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-07-31 11:51:53 +0200 |
commit | 9a9300532592b575a0914e009840c2c4c11f28c0 (patch) | |
tree | 9c710dd7acf9e31b35b3fed85d207fdca532413e /archaeological_context_records/forms.py | |
parent | b2e1c602627102d2c63616d98305941c773b24fa (diff) | |
download | Ishtar-9a9300532592b575a0914e009840c2c4c11f28c0.tar.bz2 Ishtar-9a9300532592b575a0914e009840c2c4c11f28c0.zip |
Context record form/sheet: add opening/closing dates
Diffstat (limited to 'archaeological_context_records/forms.py')
-rw-r--r-- | archaeological_context_records/forms.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py index 77b42b609..86a371538 100644 --- a/archaeological_context_records/forms.py +++ b/archaeological_context_records/forms.py @@ -156,6 +156,10 @@ class RecordFormGeneral(ManageOldType, forms.Form): label=_(u"Depth of appearance (m)"), required=False) unit = forms.ChoiceField(label=_(u"Context record type"), required=False, choices=[]) + opening_date = forms.DateField(label=_(u"Opening date"), + widget=widgets.JQueryDate, required=False) + closing_date = forms.DateField(label=_(u"Closing date"), + widget=widgets.JQueryDate, required=False) documentation = forms.MultipleChoiceField( label=_("Documentation"), choices=[], required=False, widget=forms.CheckboxSelectMultiple) |