DK2/templates/pages/auth/register.php
2024-10-05 14:23:32 -05:00

29 lines
890 B
PHP

<div class="container-960" autocomplete="off">
<h1 class="mb-2">Register</h1>
<p class="mb-2">
So you want to be an adventurer, eh? Fantastic choice! There is glory and treasure to be found at the end
of this road; and danger too! If you're strong of will enough, you can become something more.
</p>
<p class="mb-4">
Start your journey here. Register an account and begin the never-ending quest for power and riches.
</p>
<?= c_form_errors() ?>
<form action="/auth/register" method="post">
<?= csrf_field() ?>
<div class="form group">
<?= c_form_field('text', 'u', 'Username') ?>
<?= c_form_field('text', 'e', 'Email') ?>
<?= c_form_field('password', 'p', 'Password', autocomplete: "new-password") ?>
</div>
<button type="submit" class="ui button primary mr-4">Register</button>
<a href="/auth/login">Already an adventurer? Login!</a>
</form>
</div>