Files
tripwithbonus/templates/forms/f_registration.html
SDE 957065a091 0.0.11
profile page
2023-06-22 22:17:01 +03:00

47 lines
2.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="registration">
<h2>Регистрация</h2>
<div class="chosen_buttons">
<button>Перевозчик</button>
<button>Отправитель</button>
</div>
<form action="">
{% csrf_token %}
<div class="reg_inputs">
<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"{% 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="Пароль"{% 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="Фамилия"{% 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="Телефон"{% 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="Подтвердить пароль"{% 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 %}
</div>
<input type="checkbox"> <p>Регистрируясь, я соглашаюсь с Лицензионным соглашениеми и Политикой конфиденциальности</p>
<div class="reg_button">
<button id="registration" onclick="SendRegistrationForm(this)"> Зарегистрироваться </button>
</div>
</form>
</div>