diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-01-11 10:40:29 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-01-11 10:40:29 +0100 |
commit | 1f374dd36b2901b35e4ab0bdbcfcbcbb93224f1a (patch) | |
tree | 37b3e24a5a6580fd08d6790aea2ada3ebe5bca20 /archaeological_operations/forms.py | |
parent | 1b68835844edb9038486b1ffeed210157cf7b8f3 (diff) | |
download | Ishtar-1f374dd36b2901b35e4ab0bdbcfcbcbb93224f1a.tar.bz2 Ishtar-1f374dd36b2901b35e4ab0bdbcfcbcbb93224f1a.zip |
UI: Workon on a new date picker
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r-- | archaeological_operations/forms.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index fed48a8ff..2b6e2773e 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -40,6 +40,7 @@ from ishtar_common.models import valid_id, Person, Town, \ organization_type_pk_lazy from ishtar_common.wizards import MultiValueDict +from bootstrap_datepicker.widgets import DatePicker from archaeological_files.models import File import models @@ -526,7 +527,7 @@ class OperationSelect(TableSelect): remains = forms.ChoiceField(label=_(u"Remains"), choices=[]) periods = forms.ChoiceField(label=_(u"Periods"), choices=[]) start_before = forms.DateField(label=_(u"Started before"), - widget=widgets.JQueryDate) + widget=DatePicker) start_after = forms.DateField(label=_(u"Started after"), widget=widgets.JQueryDate) end_before = forms.DateField(label=_(u"Ended before"), |