diff options
author | raylu <raylu@mixpanel.com> | 2011-07-10 17:31:57 -0700 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2011-07-10 17:36:52 -0700 |
commit | de4d4edbcd7a6920d628d466283a7cc781a1e946 (patch) | |
tree | 1676c63304b41bdc7d7c2155bc91784aac678c0b /views/layouts | |
parent | 461ada92d70011c5de9673723668d8de185e0fcb (diff) | |
download | otakuhub-de4d4edbcd7a6920d628d466283a7cc781a1e946.tar.xz |
use signup style for login page; add remember me to login popup
Diffstat (limited to 'views/layouts')
-rw-r--r-- | views/layouts/default.html.php | 8 |
1 files changed, 6 insertions, 2 deletions
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; <h2>Login</h2> '; 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 '</div></div>'; |