X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ff7ddb6b86bf918a9418af7382836b41594d45e4..e4c73424502c578773f1088237c604c709fcf959:/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])) %> -