{{template "base" .}}

{{define "title"}}Konto aktivieren{{end}}

{{define "body"}}
<div class="auth-section">
    <div class="auth-card">
        <h2 class="auth-title">Konto aktivieren</h2>
        <p class="auth-subtitle">Geben Sie Ihren Aktivierungstoken ein, um Ihr Konto freizuschalten.</p>

        {{if .FormErrors}}
        <div class="alert alert--error">
            {{range .FormErrors}}<p>{{.}}</p>{{end}}
        </div>
        {{end}}

        <form method="POST" action="/users/activated">
            <div class="form-group">
                <label class="form-label" for="token">Aktivierungstoken</label>
                <input class="form-input" id="token" name="token" type="text"
                       placeholder="Token aus der E-Mail einfügen" value="{{.Token}}">
            </div>
            <button class="btn btn--primary btn--full" type="submit">Aktivieren</button>
        </form>
    </div>
</div>
{{end}}
