Permalink
Browse files

Fixes a small UI bug in the login page

  • Loading branch information...
1 parent dc230cb commit e8069b5960c4bbbc9da34d03abe74426a5fda60a @fdv fdv committed Dec 26, 2012
View
2 app/helpers/accounts_helper.rb
@@ -1,7 +1,7 @@
# coding: utf-8
module AccountsHelper
def lost_password
- link_to("<small>#{_("I've lost my password")}</small>".html_safe, :action => 'recover_password').html_safe
+ link_to("<small>#{_("I've lost my password")}</small>".html_safe, :action => 'recover_password').html_safe
end
def create_account_link
View
3 app/views/accounts/login.html.erb
@@ -18,8 +18,7 @@
</div>
<div class='clearfix'>
<p>
- <%= lost_password %>
- <%= create_account_link %>
+ <%= [lost_password, create_account_link].join("<br />") %>
</p>
</div>
<% end %>
View
3 app/views/accounts/recover_password.html.erb
@@ -14,8 +14,7 @@
</div>
<div class='clearfix'>
<p>
- <%= create_account_link %>
- <%= back_to_login %>
+ <%= [back_to_login, create_account_link].join("<br />") %>
</p>
</div>
<% end %>
View
5 app/views/accounts/signup.html.erb
@@ -16,6 +16,11 @@
<input type="submit" id="submit" class='btn btn-info' value="<%= _('Signup')%>" />
</div>
<% end %>
+ <div class='clearfix'>
+ <p>
+ <%= [lost_password, create_account_link].join("<br />") %>
+ </p>
+ </div>
</div>
</div>
</div>

0 comments on commit e8069b5

Please sign in to comment.