Files
LittleBeast/view/register.maron
2025-12-08 03:18:12 +09:00

50 lines
1.8 KiB
Plaintext

{@ include(common/header) @}
<h1 class="paragraph">登録</h1>
<p class="paragraph">
登録して下さい。
</p>
{@ if ($error) @}
<p>
<div class="errormes">
{{{ $error }}}
</div>
</p>
{@ endif @}
<p>
<form action="/register" method="POST">
{$ $username = randstr() $}
{$ $password = randstr() $}
{$ $passwordVerify = randstr() $}
{$ $email = randstr() $}
<table>
<tbody>
<tr>
<td><label for="{{ $username }}">ユーザー名:</label></td>
<td><input type="text" id="{{ $username }}" name="{{ $username }}" value="{{ $nyuU }}" /></td>
</tr>
<tr>
<td><label for="{{ $password }}">パスワード:</label></td>
<td><input type="password" id="{{ $password }}" name="{{ $password }}" /></td>
</tr>
<tr>
<td><label for="{{ $passwordVerify }}">パスワード(確認):</label></td>
<td><input type="password" id="{{ $passwordVerify }}" name="{{ $passwordVerify }}" /></td>
</tr>
<tr>
<td><label for="{{ $email }}">メールアドレス:</label></td>
<td><input type="email" id="{{ $email }}" name="{{ $email }}" value="{{ $nyuE }}" /></td>
</tr>
<tr>
<td></td>
<td>
<input type="hidden" id="csrf_token" name="csrf_token" value="{{ make_csrf_token() }}" />
<button>登録</button>
</td>
</tr>
</tbody>
</table>
</form>
</p>
{@ include(common/footer) @}