styles($this->html->style("/css/login_signup.css"));
if (isset($key))
{
echo "Confirmation Link: ";
echo $this->html->link("Link", array('controller' => 'signup',
'action' => 'confirm',
'args' => $key->key));
}
else
{
$template = '
{:label} | {:input} | {:error} |
';
?>
= $this->flashMessage->output(); ?>
= $this->form->create($user); ?>
= $this->form->field('username',
array('template' => $template, 'id' => 's_username')) ?>
= $this->form->field('newpass',
array('template' => $template, 'id' => 's_password', 'label' => 'Password', 'type' => 'password')) ?>
= $this->form->field('email',
array('template' => $template, 'id' => 's_email')) ?>
= $this->form->submit('Signup!'); ?>
= $this->form->end(); ?>