X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2b2264ddab13ee8ffa7e90d8b803d1a0296a7cff..860887de5272c3e2a39cb7e0c9db6f0acba1b4c6:/app/views/user/login.html.erb diff --git a/app/views/user/login.html.erb b/app/views/user/login.html.erb index ded03318f..e6efdc5ce 100644 --- a/app/views/user/login.html.erb +++ b/app/views/user/login.html.erb @@ -1,8 +1,12 @@ -
+<% content_for :head do %> + <%= javascript_include_tag "login" %> +<% end %> + <% content_for :heading do %>

<%= t 'user.login.heading' %>

<% end %> +
<%= form_tag({ :action => "login" }, { :id => "login_form" }) do %> <%= hidden_field_tag('referer', h(params[:referer])) %> @@ -29,7 +33,7 @@
- <%= check_box_tag "remember_me", "yes", false, :tabindex => 3 %> + <%= check_box_tag "remember_me", "yes", params[:remember_me] == "yes", :tabindex => 3 %> @@ -76,22 +80,3 @@ <% end %>
- -