app/views/locomotive/sessions/new.html.slim in locomotivecms-3.3.0 vs app/views/locomotive/sessions/new.html.slim in locomotivecms-3.4.0
- old
+ new
@@ -7,10 +7,10 @@
.public-intro
h3= t('locomotive.sessions.new.title')
- set_error_from_flash(resource, :email)
- = locomotive_form_for(resource, as: resource_name, url: locomotive_account_session_path) do |f|
+ = locomotive_form_for(resource, as: resource_name, url: locomotive_account_session_path, html: { autocomplete: 'off' }) do |f|
= f.hidden_field :remember_me, value: 'true'
= f.inputs do
= f.input :email, label: t('.email'), required: false, input_html: { tabindex: 1 }