From d1a0167969f71c2feaffeb19fc1320f0e8b32ffa Mon Sep 17 00:00:00 2001 From: Andrew Kvalheim Date: Wed, 16 Mar 2022 13:58:48 -0700 Subject: [PATCH] Correct failure to enable survey date pickers Resolves: app/views/admin/surveys/_form.html.haml:25: warning: key :class is duplicated and overwritten on line 25 app/views/admin/surveys/_form.html.haml:27: warning: key :class is duplicated and overwritten on line 27 --- app/views/admin/surveys/_form.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/surveys/_form.html.haml b/app/views/admin/surveys/_form.html.haml index ef35538f..b03022ab 100644 --- a/app/views/admin/surveys/_form.html.haml +++ b/app/views/admin/surveys/_form.html.haml @@ -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', class: 'form-control' + = f.text_field :start_date, class: 'datetimepicker form-control' = f.label :end_date - = f.text_field :end_date, class: 'datetimepicker', class: 'form-control' + = f.text_field :end_date, class: 'datetimepicker form-control' = f.submit nil, class: 'btn btn-primary'