From a76fa8dd59f89415251da8373f04aba8cc59f57c Mon Sep 17 00:00:00 2001 From: Henne Vogelsang Date: Tue, 15 Jul 2014 23:38:47 +0200 Subject: [PATCH] Fix the layout of the sign in box --- app/views/layouts/_navigation.html.haml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/app/views/layouts/_navigation.html.haml b/app/views/layouts/_navigation.html.haml index ca2df504..31065a46 100644 --- a/app/views/layouts/_navigation.html.haml +++ b/app/views/layouts/_navigation.html.haml @@ -45,12 +45,17 @@ = form_tag user_session_path do = text_field_tag 'user[email]', nil, id: 'user_email_dd' = password_field_tag 'user[password]', nil, id: 'user_password_dd' - %label.checkbox - = check_box_tag 'user[remember_me]' - Remember me - %button.btn.btn-block Sign in - %br - = link_to "Forgot your password?", new_password_path('user') - = link_to 'Sign in with openID', new_user_session_path + %p.text-right + %small + Remember me + = check_box_tag 'user[remember_me]' + %button.btn.btn-success.btn-block Sign in + %p + %small + %ul.list-unstyled + %li + = link_to "Forgot your password?", new_password_path('user') + %li + = link_to 'Sign in with openID', new_user_session_path %li.hidden-lg = link_to('Sign In', new_user_session_path)