blob: 39b6a4f3210b5057be05e361793093fb906d51a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
$this->styles($this->html->style("/css/login_signup.css"));
$template = '<tr{:wrap}><td>{:label}</td><td>{:input}</td><td>{:error}</td></tr>';
?>
<?= $this->flashMessage->output() ?>
<div id="login_signup">
<?= $this->form->create() ?>
<table>
<?= $this->form->field('username',
array('template' => $template, 'id' => 'l_username')) ?>
<?= $this->form->field('password',
array('template' => $template, 'type' => 'password', 'id' => 'l_password')) ?>
<?= $this->form->field('remember',
array('template' => $template, 'type' => 'checkbox', 'id' => 'l_remember')) ?>
</table>
<?= $this->form->submit('Login!') ?>
<?= $this->form->end(); ?>
</div>
|