diff options
Diffstat (limited to 'app/views/auth/passwords')
-rw-r--r-- | app/views/auth/passwords/edit.html.haml | 3 | ||||
-rw-r--r-- | app/views/auth/passwords/new.html.haml | 3 |
2 files changed, 6 insertions, 0 deletions
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! |