diff options
author | Michael Francis <edude03@gmail.com> | 2011-07-06 18:13:55 -0400 |
---|---|---|
committer | Michael Francis <edude03@gmail.com> | 2011-07-06 18:13:55 -0400 |
commit | c1328737f1ddae27e25dd4a123ce0f9532f07908 (patch) | |
tree | 1cdee7bb09ff8bad76ebad2bb9ce54ec87a3281c /views/users | |
parent | 50c66c5b5ff73aa9893337dcdefb8d57381fe34c (diff) | |
download | otakuhub-c1328737f1ddae27e25dd4a123ce0f9532f07908.tar.xz |
Cleanup and fixed newpass issue
Diffstat (limited to 'views/users')
-rw-r--r-- | views/users/signup.html.php | 32 |
1 files changed, 4 insertions, 28 deletions
diff --git a/views/users/signup.html.php b/views/users/signup.html.php index 185fcae..5b26977 100644 --- a/views/users/signup.html.php +++ b/views/users/signup.html.php @@ -5,37 +5,13 @@ $this->styles($this->html->style("/css/signup.css")); <?php if (isset($key)): ?> Confirmation Link: <a href="<?=$link ?>/<?=$key->key ?>"> Link </a> <?php else: ?> -<?php if(isset($user)): ?> +<?=$this->flashMessage->output(); ?> + + <?=$this->form->create($user); ?> -<?php else: ?> -<?=$this->form->create(); ?> -<?php endif; ?> <?=$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; ?> - -<!-- - <div id="signup"> - <h2>Sign up:</h2> - <form method="post" action="/users/signup"> - <table> - <tr> - <td><label for="username">Username</label></td> - <td><input type="text" name="username" id="username"> - </tr> - <tr> - <td><label for="password">Password</label></td> - <td><input type="password" id="password" name="password"></td> - </tr> - <tr> - <td><label for="email">Email</label></td> - <td><input type="text" id="email" name="email"></td> - </tr> - </table> - <input class="button green" type="submit" value="Sign up"> - </form> - </div> ---> +<?php endif; ?>
\ No newline at end of file |