summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
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
commit72b51a6558b78717c2fb55aba03abe2c8bbd9f72 (patch)
tree37b3e24a5a6580fd08d6790aea2ada3ebe5bca20 /archaeological_operations
parent1d7e5abe6539852074387c771027fbf452c05d55 (diff)
downloadIshtar-72b51a6558b78717c2fb55aba03abe2c8bbd9f72.tar.bz2
Ishtar-72b51a6558b78717c2fb55aba03abe2c8bbd9f72.zip
UI: Workon on a new date picker
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/forms.py3
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"),