diff options
Diffstat (limited to 'accounts/templates/index.html')
-rw-r--r-- | accounts/templates/index.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/accounts/templates/index.html b/accounts/templates/index.html new file mode 100644 index 0000000..4e98750 --- /dev/null +++ b/accounts/templates/index.html @@ -0,0 +1,20 @@ +{%- extends 'base.html' %} +{%- from '_macros.html' import render_field %} +{%- block content %} + +<form action="{{ url_for('index') }}" method="post" class="form-horizontal"> + <h2>Login</h2> + <p> + Willkommen bei <strong>spline accounts</strong>. + Melde dich an, + <a href="{{ url_for('about') }}">informier dich</a>, oder + <a href="{{ url_for('register') }}">leg einen Account an</a>. + </p> + {{ render_field(form.username, autofocus="autofocus") }} + {{ render_field(form.password) }} + <div class="form-actions"><input type="submit" value="Login" /></div> + <p class="form-actions"><a href="/register">Account erstellen</a></div> + <p class="form-actions"><a href="/lost_password">Passwort oder Benutzername vergessen</a></div> +</form> + +{%- endblock %} |