0.4.49 feedback form errors
This commit is contained in:
@@ -2,15 +2,12 @@
|
||||
{% load i18n %}
|
||||
<input type="checkbox" onclick="deleteErrorsInput(this)" class="check_box_form_feedback el_form_feedback" id="id_agreement" name="agreement" {% if feedback_form.initial.agreement %}checked{% endif %} />
|
||||
<label class="label_feedback_form_checkbox standart_txt" for="id_agreement">
|
||||
{# {% blocktranslate %}#}
|
||||
{% translate "Принимаю" %} <a href="{% url "static_page" "user-agreement" %}" target="_blank" class="a_user_agreement">
|
||||
{% translate "Пользовательское соглашение" %}
|
||||
</a> {% translate "и соглашаюсь с" %} <a href="{% url "static_page" "privacy-policy" %}" target="_blank" class="a_user_agreement">
|
||||
{% translate "Условиями обработки личных данных" %}
|
||||
</a>
|
||||
{% if feedback_form.errors.agreement %}<br><div class="error_input_html">{{ feedback_form.errors.agreement }}</div>{% endif %}
|
||||
{# {% endblocktranslate %}#}
|
||||
</label>
|
||||
{#{% if feedback_form.errors.company %}<div class="error_input_html"></div>{% endif %}#}
|
||||
{% if feedback_form.errors.company %}<div class="error_input_html"></div>{% endif %}
|
||||
<div class="clear_both"></div>
|
||||
{#{% if feedback_form.errors.agreement %}</div>{% endif %}#}
|
||||
|
||||
Reference in New Issue
Block a user