X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7ccd11ebf3c8e119a04119a2e89ce6a879560578..01b84a810703041bc4a5011068214c92de0a5bec:/app/views/users/login.html.erb?ds=sidebyside diff --git a/app/views/users/login.html.erb b/app/views/users/login.html.erb index 2e27875d2..947aafbf9 100644 --- a/app/views/users/login.html.erb +++ b/app/views/users/login.html.erb @@ -3,89 +3,62 @@ <% end %> <% content_for :heading do %> -
<%= 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])) %> -