mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 05:02:46 +08:00
make the text field autofocus on admin-login page
This commit is contained in:
parent
58ceecd47b
commit
cf97efb643
|
@ -8,7 +8,7 @@
|
|||
<% else %>
|
||||
<%=form_tag({}, method: :put) do %>
|
||||
<%= label_tag(:email, t('admin_login.email_input')) %>
|
||||
<%= text_field_tag(:email) %><br><br>
|
||||
<%= text_field_tag(:email, nil, autofocus: true) %><br><br>
|
||||
<%= submit_tag t('admin_login.submit_button') %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue
Block a user