From 271a2070eeafc2e88fcee72fa0d59a86cbc43430 Mon Sep 17 00:00:00 2001 From: Max Yakovenko Date: Thu, 12 Jul 2018 23:57:02 +0300 Subject: [PATCH] add registration logic templates --- templates/registration/activation.html | 10 +++ templates/registration/registration.html | 61 +++++++++++++++++++ templates/registration/registration_done.html | 10 +++ templates/registration/resend_activation.html | 4 ++ 4 files changed, 85 insertions(+) create mode 100644 templates/registration/activation.html create mode 100644 templates/registration/registration.html create mode 100644 templates/registration/registration_done.html create mode 100644 templates/registration/resend_activation.html diff --git a/templates/registration/activation.html b/templates/registration/activation.html new file mode 100644 index 0000000..e149a39 --- /dev/null +++ b/templates/registration/activation.html @@ -0,0 +1,10 @@ + + + + + Title + + + + + diff --git a/templates/registration/registration.html b/templates/registration/registration.html new file mode 100644 index 0000000..d87a411 --- /dev/null +++ b/templates/registration/registration.html @@ -0,0 +1,61 @@ +{% extends 'base.html' %} +{% load static %} +{% load crispy_forms_tags %} + +{% block title %}{{ form.title }}{% endblock %} + +{% block content %} +
+
+
+
+ {% csrf_token %} +
+
+
Регистрация
+
+
+
Данные о компании
+
+
+
+
+ {% for field in form %} + {% include 'bootstrap/forms/registration.html' %} + {% endfor %} +
+
+ {% if company_form %} + {% for field in company_form %} + {% include 'bootstrap/forms/registration.html' %} + {% endfor %} + {% endif %} +
+
+
+
+ +
+
+
+
+
+
+{% endblock content %} +{% block extra_post_content %} + +{% endblock extra_post_content %} diff --git a/templates/registration/registration_done.html b/templates/registration/registration_done.html new file mode 100644 index 0000000..e149a39 --- /dev/null +++ b/templates/registration/registration_done.html @@ -0,0 +1,10 @@ + + + + + Title + + + + + diff --git a/templates/registration/resend_activation.html b/templates/registration/resend_activation.html new file mode 100644 index 0000000..af8f1c1 --- /dev/null +++ b/templates/registration/resend_activation.html @@ -0,0 +1,4 @@ +{% extends 'base.html' %} +{% block content %} + {{ form }} +{% endblock %}