From de4d4edbcd7a6920d628d466283a7cc781a1e946 Mon Sep 17 00:00:00 2001 From: raylu Date: Sun, 10 Jul 2011 17:31:57 -0700 Subject: use signup style for login page; add remember me to login popup --- views/layouts/default.html.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'views/layouts/default.html.php') diff --git a/views/layouts/default.html.php b/views/layouts/default.html.php index f4a6918..8d4a667 100644 --- a/views/layouts/default.html.php +++ b/views/layouts/default.html.php @@ -35,8 +35,12 @@ use \lithium\security\Auth;

Login

'; echo $this->form->create(null, array('url' => '/login')); - echo $this->form->field('username', array('type' => 'text')); - echo $this->form->field('password', array('type' => 'password')); + echo $this->form->field('username', + array('type' => 'text', 'id' => 'f_username')); + echo $this->form->field('password', + array('type' => 'password', 'id' => 'f_password')); + echo $this->form->field('remember', + array('type' => 'checkbox', 'id' => 'f_remember', 'label' => 'Remember me')); echo $this->form->submit('Login'); echo $this->form->end(); echo ''; -- cgit v1.2.3