From 3fb6ad9020ccde4d5e3b9bf3c36f5b201a8f6e7a Mon Sep 17 00:00:00 2001 From: Perry Faro Date: Sun, 27 Oct 2013 11:50:18 +0100 Subject: [PATCH] Reset button/link on the reset password page. Fixes #5418 --- app/views/devise/passwords/edit.html.haml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/devise/passwords/edit.html.haml b/app/views/devise/passwords/edit.html.haml index d85b4ab08..3e4a4a0f1 100644 --- a/app/views/devise/passwords/edit.html.haml +++ b/app/views/devise/passwords/edit.html.haml @@ -7,5 +7,8 @@ %div = f.password_field :password_confirmation, class: "text bottom", placeholder: "Confirm new password" %div + .clearfix.append-bottom-10 = f.submit "Change my password", class: "btn btn-primary" - .pull-right= render partial: "devise/shared/links" + = link_to "Sign in", new_session_path(resource_name), class: "btn pull-right" + %div + = link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) -- 2.11.0