From 050896d1d34e849bb07daffc5a0d87b4b1b96977 Mon Sep 17 00:00:00 2001 From: decabeza Date: Wed, 10 Apr 2019 16:18:14 +0200 Subject: [PATCH] Add autocomplete off to dashboard poll dates form --- app/views/dashboard/polls/_form.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/dashboard/polls/_form.html.erb b/app/views/dashboard/polls/_form.html.erb index 8206d0046..8f277f053 100644 --- a/app/views/dashboard/polls/_form.html.erb +++ b/app/views/dashboard/polls/_form.html.erb @@ -8,12 +8,14 @@
<%= f.text_field :starts_at, + autocomplete: "off", value: poll.starts_at.present? ? l(poll.starts_at.to_date) : nil, class: "js-calendar-full" %>
<%= f.text_field :ends_at, + autocomplete: "off", value: poll.ends_at.present? ? l(poll.ends_at.to_date) : nil, class: "js-calendar-full" %>