Add window titles to auth pages and about page, link sign up/login from about page
This commit is contained in:
parent
33f7e1cf99
commit
9b195f5dd3
8 changed files with 25 additions and 3 deletions
|
@ -1,3 +1,6 @@
|
|||
- content_for :page_title do
|
||||
Confirmation instructions
|
||||
|
||||
= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
|
||||
= devise_error_messages!
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
- content_for :page_title do
|
||||
Set new password
|
||||
|
||||
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
|
||||
= devise_error_messages!
|
||||
= f.hidden_field :reset_password_token
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
- content_for :page_title do
|
||||
Reset password
|
||||
|
||||
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
|
||||
= devise_error_messages!
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
- content_for :page_title do
|
||||
Change password
|
||||
|
||||
= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f|
|
||||
= devise_error_messages!
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
- content_for :page_title do
|
||||
Sign up
|
||||
|
||||
= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
|
||||
= devise_error_messages!
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
- content_for :page_title do
|
||||
Log in
|
||||
|
||||
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
||||
.field
|
||||
= f.email_field :email, autofocus: true, placeholder: 'E-mail address', required: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue