X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2f9291ba5764fe104264ae7e3b6a361e11212e8b..d66ad4a4555c6ae9cb7257f53e2df375e5c4c73f:/app/views/users/login.html.erb diff --git a/app/views/users/login.html.erb b/app/views/users/login.html.erb index 0944d7809..947aafbf9 100644 --- a/app/views/users/login.html.erb +++ b/app/views/users/login.html.erb @@ -3,86 +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])) %> -