parent
3b71ae09dc
commit
5dd4846318
@ -5,6 +5,13 @@
|
|||||||
<h1>Admin Login</h1>
|
<h1>Admin Login</h1>
|
||||||
|
|
||||||
<%= form_for :auth, url: admin_login_path do |form| %>
|
<%= 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">
|
<div class="form-group">
|
||||||
<%= form.label :email %>
|
<%= form.label :email %>
|
||||||
<%= form.email_field :email %>
|
<%= form.email_field :email %>
|
||||||
@ -16,4 +23,5 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= submit_tag "Log in" %>
|
<%= submit_tag "Log in" %>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
Loading…
Reference in New Issue
Block a user