diff --git a/app/views/shared/editable/_date.html.haml b/app/views/shared/editable/_date.html.haml index 1e570b8de..47bc01660 100644 --- a/app/views/shared/editable/_date.html.haml +++ b/app/views/shared/editable/_date.html.haml @@ -5,7 +5,6 @@ = edit_icon .hide{id: "date--#{model.id}-#{field.to_s}"} = bootstrap_form_for(model) do |f| - = f.text_field field, - value: model.send(field) ? model.send(field).to_fs(:ymd) : '', - class: 'add-datepicker', label: 'When?' + = f.date_field field, + value: model.send(field) ? model.send(field).to_fs(:ymd) : '', label: 'When?' = f.submit :save