From 9b195f5dd34ad646e1300abaaa42e10cf43cd5db Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 14 Oct 2016 01:03:12 +0200 Subject: Add window titles to auth pages and about page, link sign up/login from about page --- app/views/auth/registrations/edit.html.haml | 3 +++ app/views/auth/registrations/new.html.haml | 3 +++ 2 files changed, 6 insertions(+) (limited to 'app/views/auth/registrations') 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! -- cgit