0.0.11
profile page
This commit is contained in:
@@ -9,27 +9,27 @@
|
||||
<form action="">
|
||||
{% csrf_token %}
|
||||
<div class="reg_inputs">
|
||||
<label><input name="firstname" type="text" placeholder="Имя"></label>
|
||||
<label><input name="firstname" type="text" placeholder="Имя"{% if form.data.firstname %} value="{{ form.data.firstname }}"{% endif %}></label>
|
||||
{% if form.errors and form.errors.firstname %}
|
||||
<span>{{ form.errors.firstname }}</span>
|
||||
{% endif %}
|
||||
<label><input name="email" type="text" placeholder="E-mail"></label>
|
||||
<label><input name="email" type="text" placeholder="E-mail"{% if form.data.email %} value="{{ form.data.email }}"{% endif %}></label>
|
||||
{% if form.errors and form.errors.email %}
|
||||
<span>{{ form.errors.email }}</span>
|
||||
{% endif %}
|
||||
<label><input name="password" type="text" placeholder="Пароль"></label>
|
||||
<label><input name="password" type="text" placeholder="Пароль"{% if form.data.password %} value="{{ form.data.password }}"{% endif %}></label>
|
||||
{% if form.errors and form.errors.password %}
|
||||
<span>{{ form.errors.password }}</span>
|
||||
{% endif %}
|
||||
<label><input name="lastname" type="text" placeholder="Фамилия"></label>
|
||||
<label><input name="lastname" type="text" placeholder="Фамилия"{% if form.data.lastname %} value="{{ form.data.lastname }}"{% endif %}></label>
|
||||
{% if form.errors and form.errors.lastname %}
|
||||
<span>{{ form.errors.lastname }}</span>
|
||||
{% endif %}
|
||||
<label><input name="tel" type="text" placeholder="Телефон"></label>
|
||||
<label><input name="tel" type="text" placeholder="Телефон"{% if form.data.tel %} value="{{ form.data.tel }}"{% endif %}></label>
|
||||
{% if form.errors and form.errors.tel %}
|
||||
<span>{{ form.errors.tel }}</span>
|
||||
{% endif %}
|
||||
<label><input name="confirm_password" type="text" placeholder="Подтвердить пароль"></label>
|
||||
<label><input name="confirm_password" type="text" placeholder="Подтвердить пароль"{% if form.data.confirm_password %} value="{{ form.data.confirm_password }}"{% endif %}></label>
|
||||
{% if form.errors and form.errors.confirm_password %}
|
||||
<span>{{ form.errors.confirm_password }}</span>
|
||||
{% endif %}
|
||||
|
||||
10
templates/pages/p_user_profile.html
Normal file
10
templates/pages/p_user_profile.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user