From 49589e5c56d2b70ac220a1ff328463af10bc28bd Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Fri, 11 Jan 2013 16:22:42 +0600 Subject: [PATCH] [refs #790] enable remember me by default --- app/views/devise/sessions/new.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/devise/sessions/new.html.haml b/app/views/devise/sessions/new.html.haml index 31aa496e9..55c16f02d 100644 --- a/app/views/devise/sessions/new.html.haml +++ b/app/views/devise/sessions/new.html.haml @@ -22,8 +22,8 @@ .registration .remember .check - %span#niceCheckbox1.niceCheck - = f.check_box :remember_me + %span#niceCheckbox1.niceCheck{:style => 'background-position: 0px -18px;'} + = f.check_box :remember_me, :checked => true .text=t('devise.sessions.remember_me') .in=f.submit t('layout.devise.shared_links.sign_in'), :class => 'button', :id => 'btnLogin' %div{:style => "clear: both;"}