Replace all datepickers with date input
Nowadays all browsers have reasonable date input support...
This commit is contained in:
parent
07bfff8fa1
commit
30fdc2d796
6 changed files with 26 additions and 39 deletions
|
|
@ -22,7 +22,7 @@
|
|||
= f.select :target, Survey.targets.keys, class: 'form-control'
|
||||
.form-group
|
||||
= f.label :start_date
|
||||
= f.text_field :start_date, class: 'datetimepicker form-control'
|
||||
= f.datetime_field :start_date, class: 'form-control'
|
||||
= f.label :end_date
|
||||
= f.text_field :end_date, class: 'datetimepicker form-control'
|
||||
= f.datetime_field :end_date, class: 'form-control'
|
||||
= f.submit nil, class: 'btn btn-primary'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue