Add first version registration
This commit is contained in:
20
main/templates/django_registration/registration_form.html
Normal file
20
main/templates/django_registration/registration_form.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Регистрация</h1>
|
||||
<form method="post" action="">
|
||||
{% csrf_token %}
|
||||
{% for field in form %}
|
||||
{{ field.label_tag }}
|
||||
{{ field }}
|
||||
<br>
|
||||
{% if field.errors %}<div class="myerrors clearfix">{{ field.errors }}</div>{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<input type="submit" value="Зарегистрироваться" class="clearfix">
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user