Browse Source

Add spellcheck false to email inputs

pull/210/head
Paul Robert Lloyd 3 years ago
parent
commit
7d9cd145de
  1. 1
      app/views/devise/confirmations/new.html.erb
  2. 3
      app/views/devise/passwords/new.html.erb
  3. 3
      app/views/devise/sessions/new.html.erb
  4. 3
      app/views/devise/unlocks/new.html.erb
  5. 3
      app/views/users/edit.html.erb
  6. 1
      app/views/users/new.html.erb

1
app/views/devise/confirmations/new.html.erb

@ -6,6 +6,7 @@
<%= f.govuk_email_field :email, <%= f.govuk_email_field :email,
label: { text: "Email address" }, label: { text: "Email address" },
autocomplete: "email", autocomplete: "email",
spellcheck: "false",
value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email)
%> %>

3
app/views/devise/passwords/new.html.erb

@ -21,7 +21,8 @@
<%= f.govuk_email_field :email, <%= f.govuk_email_field :email,
label: { text: "Email address" }, label: { text: "Email address" },
autocomplete: "email" autocomplete: "email",
spellcheck: "false"
%> %>
<%= f.govuk_submit "Send email" %> <%= f.govuk_submit "Send email" %>

3
app/views/devise/sessions/new.html.erb

@ -12,7 +12,8 @@
<%= f.govuk_email_field :email, <%= f.govuk_email_field :email,
label: { text: "Email address" }, label: { text: "Email address" },
autocomplete: "email" autocomplete: "email",
spellcheck: "false"
%> %>
<%= f.govuk_password_field :password, <%= f.govuk_password_field :password,

3
app/views/devise/unlocks/new.html.erb

@ -5,7 +5,8 @@
<%= f.govuk_email_field :email, <%= f.govuk_email_field :email,
label: { text: "Email address" }, label: { text: "Email address" },
autocomplete: "email" autocomplete: "email",
spellcheck: "false"
%> %>
<%= f.govuk_submit "Resend unlock instructions" %> <%= f.govuk_submit "Resend unlock instructions" %>

3
app/views/users/edit.html.erb

@ -22,7 +22,8 @@
<%= f.govuk_email_field :email, <%= f.govuk_email_field :email,
label: { text: "Email address" }, label: { text: "Email address" },
autocomplete: "email" autocomplete: "email",
spellcheck: "false"
%> %>
<%= f.govuk_submit "Save changes" %> <%= f.govuk_submit "Save changes" %>

1
app/views/users/new.html.erb

@ -23,6 +23,7 @@
<%= f.govuk_email_field :email, <%= f.govuk_email_field :email,
label: { text: "Email address" }, label: { text: "Email address" },
autocomplete: "email", autocomplete: "email",
spellcheck: "false",
value: @resource.email value: @resource.email
%> %>

Loading…
Cancel
Save