diff --git a/templates/bootstrap/forms/registration.html b/templates/bootstrap/forms/registration.html index 9a5e0e0..10425f3 100644 --- a/templates/bootstrap/forms/registration.html +++ b/templates/bootstrap/forms/registration.html @@ -4,9 +4,7 @@ {% spaceless %}
- {% if "captcha" in field.id_for_label %} - {{ field.field.widget.image_and_audio|safe }} - {% elif "agreement" in field.id_for_label %} + {% if "agreement" in field.id_for_label %}
Согласен с условиями обработки персональных @@ -19,18 +17,15 @@
- {% if "captcha" in field.id_for_label %} - {{ field.field.widget.hidden_field|safe }} - {{ field.field.widget.text_field|safe }} - {% else %} - {{ field }} - {% endif %} + {{ field }} {% if field.field.help_text %} {% endif %}
- {% if field.has_errors %} -
{{ field.errors|safe }}
+ {% if field.errors %} +
+ {{ field.errors|safe }} +
{% endif %}