From 81bafc6dc2074b9cd12a7d70ae7a5e21651e5910 Mon Sep 17 00:00:00 2001 From: Saman Bemel-Benrud Date: Tue, 11 Jun 2013 14:07:08 -0700 Subject: [PATCH] Tidy up login form --- app/views/user/login.html.erb | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/app/views/user/login.html.erb b/app/views/user/login.html.erb index d593672be..a7927b6e0 100644 --- a/app/views/user/login.html.erb +++ b/app/views/user/login.html.erb @@ -11,17 +11,25 @@
- + <%= text_field_tag "username", params[:username], :maxlength => 255, :tabindex => 1 %>
- + <%= password_field_tag "password", "", :maxlength => 255, :tabindex => 2 %> -

<%= link_to t('user.login.lost password link'), :controller => 'user', :action => 'lost_password' %>

+

+ <%= link_to t('user.login.lost password link'), :controller => 'user', :action => 'lost_password' %> +

<%= check_box_tag "remember_me", "yes", false, :tabindex => 3 %> - +
<%= submit_tag t('user.login.login_button'), :tabindex => 4 %> @@ -41,7 +49,7 @@
- <%= url_field_tag("openid_url", "", { :maxlength => 255, :tabindex => 3, :class => "openid_url" }) %> + <%= url_field_tag("openid_url", "", { :tabindex => 3, :class => "openid_url" }) %> (<%= t 'user.account.openid.link text' %>)
-- 2.39.5