diff --git a/app/views/shared/editable/_form.html.haml b/app/views/shared/editable/_form.html.haml index 1c51efdae..69b79cbcf 100644 --- a/app/views/shared/editable/_form.html.haml +++ b/app/views/shared/editable/_form.html.haml @@ -13,6 +13,6 @@ = f.select field, collection - elsif field_type == :date = f.text_field field, - value: model.send(field) ? model.send(field).to_s(:ymd) : '', + value: model.send(field) ? model.send(field).to_fs(:ymd) : '', class: 'add-datepicker', label: 'When?' = f.submit :save