{{ template "header" . }}

<div class="py-4 container">
    <h1>Login</h1>
    <form action="/admin" method="post">
        <input type="password" name="password" required placeholder="Enter password">
        <button class="ml-3 btn btn-primary" type="submit">Login</button>
    </form>

    {{ if .IncorrectPassword }}
        <p>Incorrect password</p>
    {{ end }}
</div>

{{ template "footer" . }}
