X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8bf704ba84e6b0ec85023cfc8f6ae3571d5b7a38..697e36f364506037efb198f454226ca1eb956bed:/app/views/users/login.html.erb diff --git a/app/views/users/login.html.erb b/app/views/users/login.html.erb index ac61d7df7..78ba25fa4 100644 --- a/app/views/users/login.html.erb +++ b/app/views/users/login.html.erb @@ -7,41 +7,18 @@ <% end %>
<%= t ".no account" %> <%= link_to t(".register now"), :action => :new, :referer => params[:referer] %>
- -<%= t ".no account" %> <%= link_to t(".register now"), :action => :new, :referer => params[:referer] %>
- - - + <%= bootstrap_form_tag(:action => "login", :html => { :id => "login_form" }) do |f| %> + <%= hidden_field_tag("referer", h(params[:referer])) %> -