Files
LittleBeast/view/login.maron
2025-12-07 20:23:29 +09:00

37 lines
1.1 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="/login" method="POST">
{$ $username = randstr() $}
{$ $password = randstr() $}
<table>
<tbody>
<tr>
<td><label for="{{ $username }}">ユーザー名:</label></td>
<td><input type="text" id="{{ $username }}" name="{{ $username }}" /></td>
</tr>
<tr>
<td><label for="{{ $password }}">パスワード:</label></td>
<td><input type="password" id="{{ $password }}" name="{{ $password }}" /></td>
</tr>
<tr>
<td></td>
<td><button>サインイン</button></td>
</tr>
</tbody>
</table>
</form>
</p>
{@ include(common/footer) @}