2019-10-01 22:08:41 -04:00
|
|
|
<% if @message %>
|
|
|
|
<%= @message %>
|
|
|
|
<% if @error %><p><%= @error %></p><% end %>
|
|
|
|
<% else %>
|
2020-09-13 22:27:06 -04:00
|
|
|
<%=form_tag(u_admin_login_path, method: :put) do %>
|
2019-10-01 22:08:41 -04:00
|
|
|
<%= label_tag(:email, t('admin_login.email_input')) %>
|
|
|
|
<%= text_field_tag(:email, nil, autofocus: true) %><br><br>
|
2019-10-22 16:45:23 -04:00
|
|
|
<%= submit_tag t('admin_login.submit_button'), class: "btn btn-primary" %>
|
2019-10-01 22:08:41 -04:00
|
|
|
<% end %>
|
2020-09-13 22:27:06 -04:00
|
|
|
<% end %>
|