File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change 1- <!-- templates/register.html -->
2-
31{% extends "base.html" %}
42
53{% block title %}Регистрация{% endblock %}
86 < h2 > Регистрация</ h2 >
97 < form method ="post ">
108 {% csrf_token %}
11- {{ form.as_p }} <!-- Отображение формы, переданной из представления -->
9+ < p >
10+ {{ form.first_name.label_tag }}< br >
11+ {{ form.first_name }}
12+ </ p >
13+ < p >
14+ {{ form.last_name.label_tag }}< br >
15+ {{ form.last_name }}
16+ </ p >
17+ < p >
18+ {{ form.username.label_tag }}< br >
19+ {{ form.username }}
20+ </ p >
21+ < p >
22+ {{ form.password1.label_tag }}< br >
23+ {{ form.password1 }}
24+ </ p >
25+ < p >
26+ {{ form.password2.label_tag }}< br >
27+ {{ form.password2 }}
28+ </ p >
1229 < button type ="submit "> Зарегистрироваться</ button >
1330 </ form >
1431{% endblock %}
You can’t perform that action at this time.
0 commit comments