From 3f28592d29a9f2eaebe068834d46c9591107634e Mon Sep 17 00:00:00 2001 From: ArtemB Date: Thu, 22 Jun 2023 17:15:06 +0300 Subject: [PATCH] 0.0.3 --- templates/forms/f_registration.html | 47 +++++++++++++++++++++++++++++ templates/pages/p_registration.html | 30 +----------------- 2 files changed, 48 insertions(+), 29 deletions(-) create mode 100644 templates/forms/f_registration.html diff --git a/templates/forms/f_registration.html b/templates/forms/f_registration.html new file mode 100644 index 0000000..bbbf43d --- /dev/null +++ b/templates/forms/f_registration.html @@ -0,0 +1,47 @@ +
+

Регистрация

+ +
+ + +
+ +
+ {% csrf_token %} +
+ + {% if errors and 'firstname' in errors %} + Проверьте правильность написания имя + {% endif %} + + {% if errors and 'email' in errors %} + + {% endif %} + + {% if errors and 'password' in errors %} + + {% endif %} + + {% if errors and 'lastname' in errors %} + + {% endif %} + + {% if errors and 'tel' in errors %} + + {% endif %} + + {% if errors and 'confirm_password' in errors %} + + {% endif %} +
+ +

Регистрируясь, я соглашаюсь с Лицензионным соглашениеми и Политикой конфиденциальности

+ +
+ +
+
+ + + +
\ No newline at end of file diff --git a/templates/pages/p_registration.html b/templates/pages/p_registration.html index 9d4e1d9..2c41e20 100644 --- a/templates/pages/p_registration.html +++ b/templates/pages/p_registration.html @@ -1,31 +1,3 @@ {% include 'inter/meta.html' %} -
-

Регистрация

- -
- - -
- -
- {% csrf_token %} -
- - - - - - -
- -

Регистрируясь, я соглашаюсь с Лицензионным соглашениеми и Политикой конфиденциальности

- -
- -
-
- - - -
\ No newline at end of file +{% include 'forms/f_registration.html' %} \ No newline at end of file