Fix order logic. Currently you can change contact data ant it's working correctly
This commit is contained in:
@@ -175,10 +175,20 @@
|
||||
<div class="form-section-wrapper">
|
||||
<h2>Контакты</h2>
|
||||
<div>
|
||||
{% if not user.is_authenticated %}
|
||||
<div class="form-inline-fields">
|
||||
<h4>Номер телефона</h4>
|
||||
<h4>Почта</h4>
|
||||
<div class="form-field-wrapper {% if form.phone.error %}form-field-error{% endif %}">
|
||||
{{ form.phone.errors }}
|
||||
<label for="{{ form.phone.id_for_label }}">{{ form.phone.label }}</label>
|
||||
{{ form.phone }}
|
||||
</div>
|
||||
<div class="form-field-wrapper {% if form.email.error %}form-field-error{% endif %}">
|
||||
{{ form.email.errors }}
|
||||
<label for="{{ form.email.id_for_label }}">{{ form.email.label }}</label>
|
||||
{{ form.email }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="form-inline-fields">
|
||||
<div class="form-field-wrapper {% if form.address_city.error %}form-field-error{% endif %}">
|
||||
|
Reference in New Issue
Block a user