mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Make form use /u/admin-login instead of /users/admin-login (#10663)
This commit is contained in:
parent
cb58cbbc2c
commit
e02da64091
@ -2,7 +2,7 @@
|
|||||||
<%= @message %>
|
<%= @message %>
|
||||||
<% if @error %><p><%= @error %></p><% end %>
|
<% if @error %><p><%= @error %></p><% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%=form_tag({}, method: :put) do %>
|
<%=form_tag(u_admin_login_path, method: :put) do %>
|
||||||
<%= label_tag(:email, t('admin_login.email_input')) %>
|
<%= label_tag(:email, t('admin_login.email_input')) %>
|
||||||
<%= text_field_tag(:email, nil, autofocus: true) %><br><br>
|
<%= text_field_tag(:email, nil, autofocus: true) %><br><br>
|
||||||
<%= submit_tag t('admin_login.submit_button'), class: "btn btn-primary" %>
|
<%= submit_tag t('admin_login.submit_button'), class: "btn btn-primary" %>
|
||||||
|
Loading…
Reference in New Issue
Block a user