diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-14 01:03:12 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-14 01:03:12 +0200 |
commit | 9b195f5dd34ad646e1300abaaa42e10cf43cd5db (patch) | |
tree | c937a1b1a1df8766203d947856eddac301ce4c3e /app/views/auth | |
parent | 33f7e1cf996b9f87784cb1218885d9acbc718944 (diff) |
Add window titles to auth pages and about page, link sign up/login from about page
Diffstat (limited to 'app/views/auth')
-rw-r--r-- | app/views/auth/confirmations/new.html.haml | 3 | ||||
-rw-r--r-- | app/views/auth/passwords/edit.html.haml | 3 | ||||
-rw-r--r-- | app/views/auth/passwords/new.html.haml | 3 | ||||
-rw-r--r-- | app/views/auth/registrations/edit.html.haml | 3 | ||||
-rw-r--r-- | app/views/auth/registrations/new.html.haml | 3 | ||||
-rw-r--r-- | app/views/auth/sessions/new.html.haml | 3 |
6 files changed, 18 insertions, 0 deletions
diff --git a/app/views/auth/confirmations/new.html.haml b/app/views/auth/confirmations/new.html.haml index 5c1cf5734..e287f1528 100644 --- a/app/views/auth/confirmations/new.html.haml +++ b/app/views/auth/confirmations/new.html.haml @@ -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! diff --git a/app/views/auth/passwords/edit.html.haml b/app/views/auth/passwords/edit.html.haml index 0d5f0fe10..79a044acf 100644 --- a/app/views/auth/passwords/edit.html.haml +++ b/app/views/auth/passwords/edit.html.haml @@ -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 diff --git a/app/views/auth/passwords/new.html.haml b/app/views/auth/passwords/new.html.haml index 2677feea0..416870de8 100644 --- a/app/views/auth/passwords/new.html.haml +++ b/app/views/auth/passwords/new.html.haml @@ -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! diff --git a/app/views/auth/registrations/edit.html.haml b/app/views/auth/registrations/edit.html.haml index 943230b34..9a52af35c 100644 --- a/app/views/auth/registrations/edit.html.haml +++ b/app/views/auth/registrations/edit.html.haml @@ -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! diff --git a/app/views/auth/registrations/new.html.haml b/app/views/auth/registrations/new.html.haml index c8532ec38..97ab5498e 100644 --- a/app/views/auth/registrations/new.html.haml +++ b/app/views/auth/registrations/new.html.haml @@ -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! diff --git a/app/views/auth/sessions/new.html.haml b/app/views/auth/sessions/new.html.haml index 220d0ec79..7cfd1cb68 100644 --- a/app/views/auth/sessions/new.html.haml +++ b/app/views/auth/sessions/new.html.haml @@ -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 |