diff --git a/templates/base_main.html b/templates/base_main.html new file mode 100644 index 0000000..b3c99b4 --- /dev/null +++ b/templates/base_main.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} + +{% block head %} +{% load static %} + +{% endblock %} + +{% block body %} + +
+{% block main %} +{% endblock %} +
+ +{% endblock %} diff --git a/templates/registration/login.html b/templates/registration/login.html index 3cd4056..367ef50 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -1,6 +1,6 @@ -{% extends "base.html" %} +{% extends "base_main.html" %} -{% block body %} +{% block main %} {% if form.errors %}
diff --git a/templates/registration/new-user.html b/templates/registration/new-user.html index 0f8d670..e17b7b8 100644 --- a/templates/registration/new-user.html +++ b/templates/registration/new-user.html @@ -1,6 +1,6 @@ -{% extends "base.html" %} +{% extends "base_main.html" %} -{% block body %} +{% block main %} {% if form.errors %}

Error: