<!DOCTYPE html>

<html>

<head>

    <link rel="stylesheet" href="../static/style/style.css">
    <link rel="stylesheet" href="../static/style/login.css" </head>

<body>
    <div class="container">
        <div class="login">
            <div class="header">
                <h1>Accedi alla <span class="prominent-title">Console MEB</span></h1>

            </div>

            {% if error %}
            <p class="error">{{ error }}</p>
            {% endif %}

            <form action="/api/auth/login" method="post">
                <input type="hidden" name="redirect" value="{{ redirect }}">
                <div class="group">
                    <label for="username">Username</label>
                    <input type="text" id="username" name="username" required>
                </div>
                <div class="group">
                    <label for="password">Password</label>
                    <input type="password" id="password" name="password" required>
                </div>

                <button type="submit">Login</button>
            </form>
        </div>
    </div>
</body>

</html>