X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1977e66ace0751b8b4fdf3b55bde367ec33e7c57..6f09f5d49ce117c0f34c7c82b80b19fdccb873cf:/app/views/users/login.html.erb diff --git a/app/views/users/login.html.erb b/app/views/users/login.html.erb index 365245bf0..947aafbf9 100644 --- a/app/views/users/login.html.erb +++ b/app/views/users/login.html.erb @@ -7,85 +7,58 @@ <% 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])) %> -