32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
{% extends shell_base %}
|
|
|
|
{% block title %}Anmelden · CheckPoint Ehrenamt{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Anmelden</h1>
|
|
|
|
<form method="post" action="{{ url_for('auth.login') }}" class="cp-form">
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
|
{% if mehrere_teams %}
|
|
<div class="cp-field">
|
|
<label for="team">Team-Kürzel</label>
|
|
<input type="text" id="team" name="team"
|
|
autocapitalize="none" autocomplete="off" required
|
|
placeholder="z. B. checkpoint">
|
|
</div>
|
|
{% endif %}
|
|
<div class="cp-field">
|
|
<label for="nutzername">Nutzername</label>
|
|
<input type="text" id="nutzername" name="nutzername"
|
|
autocomplete="username" autocapitalize="none" required autofocus>
|
|
</div>
|
|
|
|
<div class="cp-field">
|
|
<label for="passwort">Passwort</label>
|
|
<input type="password" id="passwort" name="passwort"
|
|
autocomplete="current-password" required>
|
|
</div>
|
|
|
|
<button type="submit" class="cp-btn cp-btn--primary">Anmelden</button>
|
|
</form>
|
|
{% endblock %}
|