summaryrefslogtreecommitdiffstats
path: root/views/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'views/layouts')
-rw-r--r--views/layouts/default.html.php8
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>';