Skip to content

Instantly share code, notes, and snippets.

@pedroelsner
Created May 24, 2012 02:34
Show Gist options
  • Save pedroelsner/2779108 to your computer and use it in GitHub Desktop.
Save pedroelsner/2779108 to your computer and use it in GitHub Desktop.
#3 View Login - CakePHP 1.3 + AuthComponent
<h2>Login</h2>
<?php
echo $this->Form->create(
'User',
array(
'url' => array(
'controller' => 'users',
'action' => 'login'
)
)
);
echo $this->Form->input('username');
echo $this->Form->input('password',array('type'=>'password'));
echo $this->Form->end('Login');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment