login.html.php 674 B

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