X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a3617b492e67e280790442b77addbd25b896f07e..51f331e8cccbd20f06f5de1d7f2b043da327fd0a:/app/views/sessions/new.html.erb diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb index 18f536206..3bf4cde5f 100644 --- a/app/views/sessions/new.html.erb +++ b/app/views/sessions/new.html.erb @@ -13,7 +13,7 @@ <%= hidden_field_tag("referer", h(params[:referer]), :autocomplete => "off") %> <%= f.text_field :username, :label => t(".email or username"), :tabindex => 1, :value => params[:username] %> - <%= f.password_field :password, :label => t(".password"), :tabindex => 2, :value => "", :help => link_to(t(".lost password link"), :controller => "passwords", :action => "lost_password") %> + <%= f.password_field :password, :label => t(".password"), :tabindex => 2, :value => "", :help => link_to(t(".lost password link"), user_forgot_password_path) %> <%= f.form_group do %> <%= f.check_box :remember_me, { :label => t(".remember"), :tabindex => 3, :checked => (params[:remember_me] == "yes") }, "yes" %> <% end %> @@ -24,31 +24,21 @@