diff options
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 10 |
1 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 %} |