Advertisement
Guest User

Untitled

a guest
Jul 9th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.62 KB | None | 0 0
  1. <?php
  2. $form_start = $this->Form->Create('User', array(
  3.                                 'url' => array(
  4.                                       'controller' => 'users',
  5.                                       'action' => 'login',
  6.                                       )
  7.                                         )
  8.                             );         
  9. $field_username = $this->Form->input('username');
  10. $field_password = $this->Form->input('password');
  11. $form_end = $this->Form->end('Login');
  12. ?>
  13. <div class="index">
  14.     <h2>Login</h2>
  15.     <?php
  16.     echo $form_start;
  17.     echo $field_username;
  18.     echo $field_password;
  19.     echo $form_end;
  20.     ?> 
  21. </div>
  22. <?php echo $this->Element('staff_menu'); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement