summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html
index abcbb1d..cbbaa44 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -5,9 +5,12 @@
{%- if session.username %}
<p>Hallo {{ session.username }}. <a href="{{ url_for('settings') }}">Einstellungen</a></p>
{%- else %}
-<p><a href="/register">Account erstellen</a></p>
+<p>
+ <a href="/register">Account erstellen</a> |
+ <a href="/lost_password">Passwort vergessen</a>
+</p>
<form action="{{ url_for('index') }}" method="post" class="form-horizontal">
- {{ render_field(form.username) }}
+ {{ render_field(form.username, autofocus="autofocus") }}
{{ render_field(form.password) }}
{{ form.csrf_token }}
<div class="form-actions"><input type="submit" value="Login" /></div>