FIX: Make form use /u/admin-login instead of /users/admin-login (#10663)

This commit is contained in:
Joffrey JAFFEUX 2020-09-14 04:27:06 +02:00 committed by GitHub
parent cb58cbbc2c
commit e02da64091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2,9 +2,9 @@
<%= @message %>
<% if @error %><p><%= @error %></p><% end %>
<% else %>
<%=form_tag({}, method: :put) do %>
<%=form_tag(u_admin_login_path, method: :put) do %>
<%= label_tag(:email, t('admin_login.email_input')) %>
<%= text_field_tag(:email, nil, autofocus: true) %><br><br>
<%= submit_tag t('admin_login.submit_button'), class: "btn btn-primary" %>
<% end %>
<% end %>
<% end %>