From: Saman Bemel-Benrud Date: Tue, 22 Jan 2013 16:23:47 +0000 (-0500) Subject: Fix overflow on login page on mobile X-Git-Tag: live~5733 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/08dba25d7aa9fab12d368f1fc645c24bb7672d58 Fix overflow on login page on mobile --- diff --git a/app/views/user/login.html.erb b/app/views/user/login.html.erb index c2deada5c..05e9f96c1 100644 --- a/app/views/user/login.html.erb +++ b/app/views/user/login.html.erb @@ -10,8 +10,8 @@

<%= t 'user.login.no account' %> <%= link_to t('user.login.register now'), :action => :new, :referer => params[:referer] %>

- - + +
<%= t 'user.login.email or username' %><%= text_field_tag "username", params[:username], :size => 28, :maxlength => 255, :tabindex => 1 %>
<%= t 'user.login.password' %><%= password_field_tag "password", "", :size => 28, :maxlength => 255, :tabindex => 2 %> (<%= link_to t('user.login.lost password link'), :controller => 'user', :action => 'lost_password' %>)
<%= t 'user.login.email or username' %><%= text_field_tag "username", params[:username], :maxlength => 255, :tabindex => 1 %>
<%= t 'user.login.password' %><%= password_field_tag "password", "", :maxlength => 255, :tabindex => 2 %> (<%= link_to t('user.login.lost password link'), :controller => 'user', :action => 'lost_password' %>)
<%= check_box_tag "remember_me", "yes", false, :tabindex => 3 %> @@ -43,7 +43,7 @@ <%= raw t 'user.login.openid', :logo => openid_logo %> - <%= url_field_tag("openid_url", "", { :size => 28, :maxlength => 255, :tabindex => 3, :class => "openid_url" }) %> + <%= url_field_tag("openid_url", "", { :maxlength => 255, :tabindex => 3, :class => "openid_url" }) %> (<%= t 'user.account.openid.link text' %>)