diff options
author | Marian Sigler <m@qjym.de> | 2012-09-26 03:47:57 +0200 |
---|---|---|
committer | Marian Sigler <m@qjym.de> | 2012-09-26 03:47:57 +0200 |
commit | bf5d684c05a26787de0de80b0894b9d2d031c6ad (patch) | |
tree | 384a98a46061d04cc5064059f89215886b208dbc /templates/index.html | |
parent | 1d149b55d57632c41bb3d0d60805f3552cde3a22 (diff) | |
download | web-bf5d684c05a26787de0de80b0894b9d2d031c6ad.tar.gz web-bf5d684c05a26787de0de80b0894b9d2d031c6ad.tar.bz2 web-bf5d684c05a26787de0de80b0894b9d2d031c6ad.zip |
Implement password recovery functionality.
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 7 |
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> |