From 8c744f091b0b6cb358952938092b84ba35860ba1 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Thu, 9 Aug 2018 13:49:26 +0300 Subject: [PATCH] Remove unneeded attribute --- app/views/admin/sessions/new.html.erb | 1 - app/views/registrar/sessions/new.html.erb | 1 - 2 files changed, 2 deletions(-) diff --git a/app/views/admin/sessions/new.html.erb b/app/views/admin/sessions/new.html.erb index 5160cf945..c875c00ce 100644 --- a/app/views/admin/sessions/new.html.erb +++ b/app/views/admin/sessions/new.html.erb @@ -14,7 +14,6 @@ <%= f.label :password, class: 'sr-only' %> <%= f.password_field :password, placeholder: AdminUser.human_attribute_name(:password), required: true, - autocomplete: 'off', class: 'form-control' %> <% if devise_mapping.rememberable? -%> diff --git a/app/views/registrar/sessions/new.html.erb b/app/views/registrar/sessions/new.html.erb index eda6af9fc..945ae608b 100644 --- a/app/views/registrar/sessions/new.html.erb +++ b/app/views/registrar/sessions/new.html.erb @@ -10,7 +10,6 @@ required: true, class: 'form-control' %> <%= f.password_field :password, - autocomplete: 'off', placeholder: ApiUser.human_attribute_name(:password), required: true, class: 'form-control' %>