diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.html | 10 | ||||
-rw-r--r-- | templates/login.html | 0 |
2 files changed, 8 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html index 9ee3b0f..74ffb6b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,5 +1,11 @@ {%- extends 'base.html' %} +{%- from '_macros.html' import render_field %} {%- block content %} - <p>Willkommen bei <strong>spline accounts</strong>!</p> - <p><a href="/register">Account erstellen</a></p> +<p>Willkommen bei <strong>spline accounts</strong>!</p> +<p><a href="/register">Account erstellen</a></p> +<form action="" method="post"> + {{ render_field(form.username) }} + {{ render_field(form.password) }} + <input type="submit" value="Login" /> +</form> {%- endblock %} diff --git a/templates/login.html b/templates/login.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/templates/login.html |