diff --git a/templates/forms/f_commercial_offer.html b/templates/forms/f_commercial_offer.html index 1c97a0a..316f0db 100644 --- a/templates/forms/f_commercial_offer.html +++ b/templates/forms/f_commercial_offer.html @@ -15,7 +15,7 @@ type="text" onkeydown = "hideErrors(this)" placeholder="{% translate 'Имя' %}" - {% if form.data.name %} value="{{ form.data.name }}"{% endif %}> + {% if form.name %} value="{{ form.name }}"{% endif %}> {% if form.errors.name %} {{ form.errors.name }} {% endif %} @@ -25,7 +25,7 @@ + placeholder="{% translate 'Телефон' %}"{% if form.phone %} value="{{ form.phone }}"{% endif %}> {% if form.errors.phone %} {{ form.errors.phone }} {% endif %}