aboutsummaryrefslogtreecommitdiff
path: root/views/register/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/register/index.php')
-rw-r--r--views/register/index.php26
1 files changed, 15 insertions, 11 deletions
diff --git a/views/register/index.php b/views/register/index.php
index 86f4aa7..4bec861 100644
--- a/views/register/index.php
+++ b/views/register/index.php
@@ -1,16 +1,20 @@
-<?php if (isset($user_status)): ?>
- <?php if ($user_status !== ""): ?>
- <p>
- Fail: <?= $user_status ?>
- </p>
- <?php else: ?>
- <p>
- Success!
- </p>
+<h1>Register</h1>
+
+<hr class="new-section"/>
+
+<form action="#" method="POST" class="font-115 flex-col-centered max-width-20 center-margin">
+ <?php if (isset($user_status)): ?>
+ <?php if ($user_status !== ""): ?>
+ <p class="item error"><span>
+ <strong>Error:</strong> <?= $user_status ?>
+ </span></p>
+ <?php else: ?>
+ <p class="item success">
+ Success!
+ </p>
+ <?php endif; ?>
<?php endif; ?>
-<?php endif; ?>
-<form action="#" method="POST">
<input type="text" name="username" placeholder="Username" minlength="1" pattern="[A-Za-z][A-Za-z_0-9]*">
<input type="password" name="password" placeholder="Password" minlength="4">
<input type="submit" value="Register">