From f7c807a5d141a06a8af6f55c4db57ecb7523b4c1 Mon Sep 17 00:00:00 2001 From: mitri4 Date: Tue, 14 Mar 2017 15:27:05 +0300 Subject: [PATCH] added fields from dadata on the profile edit page --- project/templates/customer/profile/edit.html | 125 ++++++++++++++++++- 1 file changed, 124 insertions(+), 1 deletion(-) diff --git a/project/templates/customer/profile/edit.html b/project/templates/customer/profile/edit.html index 629758b..a4604a3 100644 --- a/project/templates/customer/profile/edit.html +++ b/project/templates/customer/profile/edit.html @@ -33,6 +33,17 @@ {% if profile.is_ip %} +
+
+ Индивидуальный предприниматель +
+
+ + Остальные необходимые поля заполнятся по найденным данным +
+
+
+
Фамилия, Имя, Отчество @@ -273,7 +284,7 @@
- Файтический адрес{% if form.address.field.required %} *{% endif %} + Фактический адрес{% if form.address.field.required %} *{% endif %}
{{ form.address }} @@ -529,6 +540,117 @@ + + + + {% endblock %}