|
|
|
|
@ -31,30 +31,22 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% block content %} |
|
|
|
|
<form method="post" action="." style="padding: 0 50px"> |
|
|
|
|
{% csrf_token %} |
|
|
|
|
{{ formset.management_form }} |
|
|
|
|
{% for form in formset %} |
|
|
|
|
<br> |
|
|
|
|
{{ form.as_p }} |
|
|
|
|
<br> |
|
|
|
|
<hr> |
|
|
|
|
{# {% for field in form %}#} |
|
|
|
|
{# <div class="form-group">#} |
|
|
|
|
{# <label for="{{ field.id_for_label }}" class="col-sm-2 control-label">{{ field.label }}</label>#} |
|
|
|
|
{# <div class="col-sm-10">#} |
|
|
|
|
{# {{ field|add_class:"form-control" }}#} |
|
|
|
|
{# <span class="help-inline">{{ field.errors }}</span>#} |
|
|
|
|
{# </div>#} |
|
|
|
|
{# </div>#} |
|
|
|
|
{# {% endfor %}#} |
|
|
|
|
{% endfor %} |
|
|
|
|
<div class="button_block"> |
|
|
|
|
<div class="container"> |
|
|
|
|
<button type="submit">{% trans "Отправить" %}</button> |
|
|
|
|
<div class="container"> |
|
|
|
|
<form method="post" action="." class="resend_email_form"> |
|
|
|
|
{% csrf_token %} |
|
|
|
|
{{ formset.management_form }} |
|
|
|
|
{% for form in formset %} |
|
|
|
|
<fieldset> |
|
|
|
|
{{ form.as_p }} |
|
|
|
|
</fieldset> |
|
|
|
|
{% endfor %} |
|
|
|
|
<div class="button_block"> |
|
|
|
|
<div class="container"> |
|
|
|
|
<button type="submit">{% trans "Отправить" %}</button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</form> |
|
|
|
|
</form> |
|
|
|
|
</div> |
|
|
|
|
{% endblock %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|