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.
32 lines
938 B
32 lines
938 B
<div class="auth-form register-form">
|
|
{% if form.non_field_errors %}
|
|
<p class="error">{{ form.non_field_errors }}</p>
|
|
{% endif %}
|
|
|
|
<form id="register-form" action="{% url 'myauth_register' %}" method="post" autocomplete="off">
|
|
{% csrf_token %}
|
|
|
|
{% for hidden in form.hidden_fields %}
|
|
{{ hidden }}
|
|
{% endfor %}
|
|
|
|
{% for field in form.visible_fields %}
|
|
<div id="{{ field.name }}" class="field">
|
|
{% if field.label %}
|
|
{{ field.label_tag }}
|
|
{% endif %}
|
|
|
|
{{ field }}
|
|
<div class="clear"></div>
|
|
|
|
{% if field.errors %}
|
|
{{ field.errors }}
|
|
{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
|
|
<div class="buttons">
|
|
<input type="submit" value="Зарегистрироваться" />
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|