<?php
$this->styles($this->html->style("/css/signup.css"));
?>

<?php if (isset($key)): ?>
Confirmation Link: <a href="<?=$link ?>/<?=$key->key ?>"> Link </a>
<?php else: ?>
<?=$this->flashMessage->output(); ?>


<?=$this->form->create($user); ?>
	<?=$this->form->field('username'); ?>
	<?=$this->form->field('newpass', array('type' => 'password', 'label' => 'password')); ?>
	<?=$this->form->field('email'); ?>
	<?=$this->form->submit('Signup!'); ?>
<?=$this->form->end(); ?>
<?php endif; ?>