password reset link on admin login
This commit is contained in:
parent
cb3042d258
commit
85674b40a6
@ -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 %>
|
||||
|
Loading…
Reference in New Issue
Block a user