diff --git a/app/templates/login.html b/app/templates/login.html index 3a67b0b..01765ab 100644 --- a/app/templates/login.html +++ b/app/templates/login.html @@ -3,19 +3,31 @@ {% block content %}

Login

- {{ form.hidden_tag() }} - {% for field in form %} -

- {{ field.label }}
- {{ field() }} - {% if field.errors %} -

- {% endif %} -

- {% endfor %} + {{ form.csrf_token() }} +

+ {{ form.username.label }}
+ {{ form.username() }} + {% if form.username.errors %} +

+ {% endif %} +

+

+ {{ form.password.label }}
+ {{ form.password() }} + {% if form.password.errors %} +

+ {% endif %} +

+

+ +

{% endblock %} \ No newline at end of file diff --git a/app/templates/register.html b/app/templates/register.html index bb475d8..5820612 100644 --- a/app/templates/register.html +++ b/app/templates/register.html @@ -3,19 +3,54 @@ {% block content %}

Register

- {{ form.hidden_tag() }} - {% for field in form %} -

- {{ field.label }}
- {{ field() }} - {% if field.errors %} -

+ {% endif %} +

+

+ {{ form.password.label }} + {{ form.password() }} + {% if form.password.errors %} +

+ {% endif %} +

+

+ {{ form.password2.label }} + {{ form.password2() }} + {% if form.password2.errors %} +

+ {% endif %} +

+

+ {{ form.tnc.label }} + {{ form.tnc() }} + {% if form.tnc.errors %} +

+ {% endif %} +

+ +

+ +

{% endblock %} \ No newline at end of file