<!DOCTYPE html>
<html lang="ja">
<head>
    <meta charset="UTF-8">
    <title>Sound Novel -新規登録-</title>
    <link rel="stylesheet" href="/static/css/blue.css">
</head>
<body>
<main>

<h1>新規登録</h1>

{% with messages = get_flashed_messages() %}
    {% if messages %}
        {% for message in messages %}
            <p>{{ message }}</p>
        {% endfor %}
    {% endif %}
{% endwith %}

    <form method="post">
        <div>
            <label>ユーザー名</label><br>
            <input type="text" name="username" required>
        </div>
        <div>
            <label>パスワード</label><br>
            <input type="password" name="password" required>
        </div>
        <div>
            <button type="submit">登録</button>
        </div>
    </form>
<br>
    <div>
        <a href="/login">ログインはこちら</a>
    </div>

</main>
</body>
</html>