From 81eefbaf28ca46a35ffbe9c4b9d4f76bb5585a71 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Tue, 19 Sep 2017 14:05:27 +0300 Subject: [PATCH] Remove autocomplete=off from datepicker fields in HTML #590 --- app/views/admin/account_activities/index.haml | 4 ++-- app/views/admin/epp_logs/index.haml | 4 ++-- app/views/admin/repp_logs/index.haml | 4 ++-- app/views/registrar/account_activities/index.haml | 4 ++-- app/views/registrar/invoices/index.haml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/views/admin/account_activities/index.haml b/app/views/admin/account_activities/index.haml index 444bbe443..2f70393c6 100644 --- a/app/views/admin/account_activities/index.haml +++ b/app/views/admin/account_activities/index.haml @@ -24,11 +24,11 @@ .col-md-3 .form-group = f.label t(:receipt_date_from) - = f.search_field :created_at_gteq, value: params[:q][:created_at_gteq], class: 'form-control datepicker', placeholder: t(:receipt_date_from), autocomplete: 'off' + = f.search_field :created_at_gteq, value: params[:q][:created_at_gteq], class: 'form-control datepicker', placeholder: t(:receipt_date_from) .col-md-3 .form-group = f.label t(:receipt_date_until) - = f.search_field :created_at_lteq, value: params[:q][:created_at_lteq], class: 'form-control datepicker', placeholder: t(:receipt_date_until), autocomplete: 'off' + = f.search_field :created_at_lteq, value: params[:q][:created_at_lteq], class: 'form-control datepicker', placeholder: t(:receipt_date_until) .col-md-3 .form-group = label_tag t(:results_per_page) diff --git a/app/views/admin/epp_logs/index.haml b/app/views/admin/epp_logs/index.haml index 689cc2acd..d8009a5ab 100644 --- a/app/views/admin/epp_logs/index.haml +++ b/app/views/admin/epp_logs/index.haml @@ -31,11 +31,11 @@ .col-md-3 .form-group = f.label t(:created_after) - = f.search_field :created_at_gteq, value: params[:q][:created_at_gteq], class: 'form-control datepicker', placeholder: t(:created_after), autocomplete: 'off' + = f.search_field :created_at_gteq, value: params[:q][:created_at_gteq], class: 'form-control datepicker', placeholder: t(:created_after) .col-md-3 .form-group = f.label t(:created_before) - = f.search_field :created_at_lteq, value: params[:q][:created_at_lteq], class: 'form-control datepicker', placeholder: t(:created_before), autocomplete: 'off' + = f.search_field :created_at_lteq, value: params[:q][:created_at_lteq], class: 'form-control datepicker', placeholder: t(:created_before) .col-md-3{style: 'padding-top: 25px;'} %button.btn.btn-primary   diff --git a/app/views/admin/repp_logs/index.haml b/app/views/admin/repp_logs/index.haml index 482a3fdf6..79d4fbb9d 100644 --- a/app/views/admin/repp_logs/index.haml +++ b/app/views/admin/repp_logs/index.haml @@ -29,11 +29,11 @@ .col-md-3 .form-group = f.label t(:created_after) - = f.search_field :created_at_gteq, value: params[:q][:created_at_gteq], class: 'form-control datepicker', placeholder: t(:created_after), autocomplete: 'off' + = f.search_field :created_at_gteq, value: params[:q][:created_at_gteq], class: 'form-control datepicker', placeholder: t(:created_after) .col-md-3 .form-group = f.label t(:created_before) - = f.search_field :created_at_lteq, value: params[:q][:created_at_lteq], class: 'form-control datepicker', placeholder: t(:created_before), autocomplete: 'off' + = f.search_field :created_at_lteq, value: params[:q][:created_at_lteq], class: 'form-control datepicker', placeholder: t(:created_before) .col-md-3{style: 'padding-top: 25px;'} %button.btn.btn-primary   diff --git a/app/views/registrar/account_activities/index.haml b/app/views/registrar/account_activities/index.haml index 371184cf9..97f9deb2a 100644 --- a/app/views/registrar/account_activities/index.haml +++ b/app/views/registrar/account_activities/index.haml @@ -20,11 +20,11 @@ .col-md-3 .form-group = f.label t(:receipt_date_from) - = f.search_field :created_at_gteq, value: params[:q][:created_at_gteq], class: 'form-control datepicker', placeholder: t(:receipt_date_from), autocomplete: 'off' + = f.search_field :created_at_gteq, value: params[:q][:created_at_gteq], class: 'form-control datepicker', placeholder: t(:receipt_date_from) .col-md-3 .form-group = f.label t(:receipt_date_until) - = f.search_field :created_at_lteq, value: params[:q][:created_at_lteq], class: 'form-control datepicker', placeholder: t(:receipt_date_until), autocomplete: 'off' + = f.search_field :created_at_lteq, value: params[:q][:created_at_lteq], class: 'form-control datepicker', placeholder: t(:receipt_date_until) .col-md-6{style: 'padding-top: 25px;'} %button.btn.btn-default   diff --git a/app/views/registrar/invoices/index.haml b/app/views/registrar/invoices/index.haml index 543070c32..9ffd55811 100644 --- a/app/views/registrar/invoices/index.haml +++ b/app/views/registrar/invoices/index.haml @@ -24,11 +24,11 @@ .col-md-3 .form-group = f.label t(:due_date_from) - = f.search_field :due_date_gteq, value: params[:q][:due_date_gteq], class: 'form-control datepicker', placeholder: t(:due_date_from), autocomplete: 'off' + = f.search_field :due_date_gteq, value: params[:q][:due_date_gteq], class: 'form-control datepicker', placeholder: t(:due_date_from) .col-md-3 .form-group = f.label t(:due_date_until) - = f.search_field :due_date_lteq, value: params[:q][:due_date_lteq], class: 'form-control datepicker', placeholder: t(:due_date_until), autocomplete: 'off' + = f.search_field :due_date_lteq, value: params[:q][:due_date_lteq], class: 'form-control datepicker', placeholder: t(:due_date_until) .row .col-md-3 .form-group