blob: 9177deaeb80b5334c4c32d57584936c38c0d91bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{%- extends 'base.html' %}
{%- from '_macros.html' import render_field %}
{%- block content %}
<p>Willkommen bei <strong>spline accounts</strong>!</p>
{%- if session.username %}
<p>Hallo {{ session.username }}. <a href="{{ url_for('settings') }}">Einstellungen</a></p>
{%- else %}
<p><a href="/register">Account erstellen</a></p>
<form action="" method="post">
<dl>
{{ render_field(form.username) }}
{{ render_field(form.password) }}
</dl>
{{ form.csrf_token }}
<input type="submit" value="Login" />
</form>
{%- endif %}
{%- endblock %}
|