{{ define "content" }}
<section>
    <h1>Login</h1>
    {{ if .form.Error }}
    <p>{{ .form.Error }}</p>
    {{ end }}
    <form action="/check-login" method="post" class="auth-form">
        {{ .csrfField }}
        <div class="field">
            <label for="name">Username</label>
            <input type="text" id="name" name="name" autocomplete="off" required autofocus/>
        </div>
        <div class="field">
            <label for="password">Password</label>
            <input type="password" id="password" name="password" required/>
        </div>
        <input type="submit" value="Submit">
    </form>
</section>
{{ end }}