X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b8a8a88004d25837a10436fdc13128146b32c32b..e8e4aa53d49c1f16aa11961cdc7a14e834a4a541:/app/views/users/login.html.erb diff --git a/app/views/users/login.html.erb b/app/views/users/login.html.erb index 0944d7809..78ba25fa4 100644 --- a/app/views/users/login.html.erb +++ b/app/views/users/login.html.erb @@ -3,62 +3,46 @@ <% 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])) %> -