From 138f712e3b9d60ea08a48ed237e18714ae576bff Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sun, 28 Jan 2018 20:28:36 +0100 Subject: [PATCH] add names and ids to forms and buttons --- django/didgeridoo/webshop/templates/registration/login.html | 4 ++-- .../didgeridoo/webshop/templates/registration/register.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/django/didgeridoo/webshop/templates/registration/login.html b/django/didgeridoo/webshop/templates/registration/login.html index 4ff603e..358cdbb 100644 --- a/django/didgeridoo/webshop/templates/registration/login.html +++ b/django/didgeridoo/webshop/templates/registration/login.html @@ -3,10 +3,10 @@ {% block section_title %}Login{% endblock %} {% block content %} -
+ {% csrf_token %} {{ form.as_p }} - +

Go to registration.

{% endblock %} diff --git a/django/didgeridoo/webshop/templates/registration/register.html b/django/didgeridoo/webshop/templates/registration/register.html index 032758f..833af05 100644 --- a/django/didgeridoo/webshop/templates/registration/register.html +++ b/django/didgeridoo/webshop/templates/registration/register.html @@ -8,7 +8,7 @@ Please correct the error{{ form.errors|pluralize }} below.

{% endif %} -
+ {{ user_form.as_table }} {{ profile_form.as_table }}