From 5dd4846318ffee4d56d3aa1bfba642607ac4dbe5 Mon Sep 17 00:00:00 2001 From: Mark Moser Date: Sat, 12 Nov 2016 12:56:43 -0600 Subject: [PATCH] adds admin password reset link fixes #83 --- app/views/admin/auth/login.html.erb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/views/admin/auth/login.html.erb b/app/views/admin/auth/login.html.erb index 725a817..e7bde46 100644 --- a/app/views/admin/auth/login.html.erb +++ b/app/views/admin/auth/login.html.erb @@ -5,6 +5,13 @@

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 %> @@ -16,4 +23,5 @@
<%= submit_tag "Log in" %> + <% end %>