You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.3 KiB
34 lines
1.3 KiB
{% load accounts_ext_filters %}
|
|
{% load crispy_forms_filters %}
|
|
|
|
{% spaceless %}
|
|
<div class="row">
|
|
<div class="col-sm-6 col-6">
|
|
{% if "agreement" in field.id_for_label %}
|
|
<div class="reg__if">
|
|
Согласен с <a href="#" data-toggle="modal" data-target="#agreement">условиями</a>
|
|
обработки персональных
|
|
данных, оплаты, доставки,
|
|
и возврата товаров
|
|
</div>
|
|
{% else %}
|
|
{% if field.label %}
|
|
{{ field.label }}{% if field.field.required %}<span class="require">*</span>{% endif %}
|
|
{% endif %}
|
|
{% endif %}
|
|
</div>
|
|
<div class="col-sm-6 col-6">
|
|
<div class="row">
|
|
{{ field }}
|
|
{% if field.field.help_text %}
|
|
<label for="{{ field.html_name|safe }}">{{ field.field.help_text|safe }}</label>
|
|
{% endif %}
|
|
</div>
|
|
{% if field.errors %}
|
|
<div class="row text-danger">
|
|
{{ field.errors|safe }}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endspaceless %}
|
|
|