From 0dffde414e71f02c11f88aad3c08c5a98a9b9c51 Mon Sep 17 00:00:00 2001 From: cryptogopher Date: Tue, 23 Jan 2024 17:22:09 +0100 Subject: [PATCH] Fix class assignment --- app/views/users/confirmations/new.html.erb | 2 +- app/views/users/passwords/edit.html.erb | 2 +- app/views/users/passwords/new.html.erb | 2 +- app/views/users/registrations/new.html.erb | 2 +- app/views/users/sessions/new.html.erb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/users/confirmations/new.html.erb b/app/views/users/confirmations/new.html.erb index fbc4cfb..e05affe 100644 --- a/app/views/users/confirmations/new.html.erb +++ b/app/views/users/confirmations/new.html.erb @@ -1,4 +1,4 @@ -
+
<%= tabular_form_for resource, url: user_confirmation_path do |f| %> <%= f.email_field :email, required: true, size: 30, autofocus: true, autocomplete: "email", value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %> diff --git a/app/views/users/passwords/edit.html.erb b/app/views/users/passwords/edit.html.erb index 267b974..9a272d4 100644 --- a/app/views/users/passwords/edit.html.erb +++ b/app/views/users/passwords/edit.html.erb @@ -1,4 +1,4 @@ -
+
<%= tabular_form_for resource, url: user_password_path, html: {method: :put} do |f| %> <%= f.hidden_field :reset_password_token, label: false %> diff --git a/app/views/users/passwords/new.html.erb b/app/views/users/passwords/new.html.erb index 726cd32..fbd3d05 100644 --- a/app/views/users/passwords/new.html.erb +++ b/app/views/users/passwords/new.html.erb @@ -1,4 +1,4 @@ -
+
<%= tabular_form_for resource, url: user_password_path do |f| %> <%= f.email_field :email, required: true, size: 30, autofocus: true, autocomplete: "email" %> diff --git a/app/views/users/registrations/new.html.erb b/app/views/users/registrations/new.html.erb index 2f1682f..d2e1e1a 100644 --- a/app/views/users/registrations/new.html.erb +++ b/app/views/users/registrations/new.html.erb @@ -1,4 +1,4 @@ -
+
<%= tabular_form_for resource, url: user_registration_path do |f| %> <%= f.email_field :email, required: true, size: 30, autofocus: true, autocomplete: "email" %> <%= f.password_field :password, required: true, size: 30, diff --git a/app/views/users/sessions/new.html.erb b/app/views/users/sessions/new.html.erb index 4720100..e476fc4 100644 --- a/app/views/users/sessions/new.html.erb +++ b/app/views/users/sessions/new.html.erb @@ -1,4 +1,4 @@ -
+
<%= tabular_form_for resource, url: user_session_path do |f| %> <%= f.email_field :email, required: true, size: 30, autofocus: true, autocomplete: "email" %> <%= f.password_field :password, required: true, size: 30, minlength: @minimum_password_length,