From 85674b40a6eafe708e13bbc4b84e493a06abe310 Mon Sep 17 00:00:00 2001 From: Mark Moser Date: Thu, 17 Nov 2016 07:41:01 -0600 Subject: [PATCH] password reset link on admin login --- app/views/admin/auth/login.html.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/views/admin/auth/login.html.erb b/app/views/admin/auth/login.html.erb index 725a817..e7746c7 100644 --- a/app/views/admin/auth/login.html.erb +++ b/app/views/admin/auth/login.html.erb @@ -5,6 +5,12 @@

Admin Login

<%= form_for :auth, url: admin_login_path do |form| %> + <% if flash[:error].present? %> +
+ Need a <%= link_to "password reset", admin_reset_request_path %>? +
+ <% end %> +
<%= form.label :email %> <%= form.email_field :email %>