password reset link on admin login

This commit is contained in:
Mark Moser 2016-11-17 07:41:01 -06:00
parent cb3042d258
commit 85674b40a6

View File

@ -5,6 +5,12 @@
<h1>Admin Login</h1>
<%= form_for :auth, url: admin_login_path do |form| %>
<% if flash[:error].present? %>
<div class="form-group">
Need a <%= link_to "password reset", admin_reset_request_path %>?
</div>
<% end %>
<div class="form-group">
<%= form.label :email %>
<%= form.email_field :email %>