login: move password reset link.
Add "Forgot password?" link next to password field to make it more obvious.
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
<% content_for(:secondary_links) do %>
|
||||
<%= subnav_link_to "Sign up", new_user_path %>
|
||||
<%= subnav_link_to "Reset Password", new_maintenance_user_password_reset_path %>
|
||||
<%= subnav_link_to "Login Reminder", new_maintenance_user_login_reminder_path %>
|
||||
<% end %>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<%= simple_form_for(:session, url: session_path) do |f| %>
|
||||
<%= f.input :url, as: :hidden, input_html: { value: params[:url] } %>
|
||||
<%= f.input :name %>
|
||||
<%= f.input :password, input_html: { autocomplete: "password" } %>
|
||||
<%= f.input :password, hint: link_to("Forgot password?", new_maintenance_user_password_reset_path), input_html: { autocomplete: "password" } %>
|
||||
<%= f.submit "Login" %>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user