This commit is contained in:
2023-12-01 12:16:52 +03:00
parent 689495e410
commit 6a8aa73e63
2 changed files with 6 additions and 6 deletions

View File

@@ -26,7 +26,7 @@
{# {% if form.name %} required{% endif %}#}
placeholder="{% translate 'Имя' %}" {% if form.data.name %} value="{{ form.data.name }}"{% endif %}>
{% if form.username and form.errors.username %}
{% if form.name and form.errors.name %}
<span>{{ form.errors.name }}</span>
{% endif %}
</div>
@@ -47,8 +47,8 @@
type="tel"
placeholder="{% translate 'Телефон' %}"{% if form.data.phone %} value="{{ form.data.phone }}"{% endif %}>
{% if form.tel and form.errors.tel %}
<span>{{ form.errors.tel }}</span>
{% if form.phone and form.errors.phone %}
<span>{{ form.errors.phone }}</span>
{% endif %}
</div>
</div>