43 lines
1.1 KiB
PHP
43 lines
1.1 KiB
PHP
<h1>Become an Adventurer</h1>
|
|
<p>
|
|
Register with the Guild to become an adventurer; you can starting battling and looting
|
|
the world! If you're already an adventurer, <a href="/gate/login">login</a>.
|
|
</p>
|
|
|
|
<?php if (App::flash('errors')) {
|
|
print_r(App::flash('errors'));
|
|
} ?>
|
|
|
|
|
|
<form action="/gate/register" method="post">
|
|
<div class="form-group">
|
|
<label for="username">Username</label>
|
|
<input type="text" name="username" placeholder="Username">
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="email">Email</label>
|
|
<input type="email" name="email" placeholder="Email">
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="password">Password</label>
|
|
<input type="password" name="password" placeholder="Password">
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="password">Confirm Password</label>
|
|
<input type="password" name="password2" placeholder="Confirm Password">
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="class">Class</label>
|
|
<select name="class">
|
|
<?php foreach (Classes::all() as $class): ?>
|
|
<option value="<?= $class['id'] ?>"><?= $class['name'] ?></option>
|
|
<?php endforeach; ?>
|
|
</select>
|
|
</div>
|
|
|
|
<button>Register</button>
|
|
</form>
|