summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views/users/signup.html.php32
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