47 lines
1.9 KiB
HTML
47 lines
1.9 KiB
HTML
<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="Имя"></label>
|
||
{% if errors and 'firstname' in errors %}
|
||
<span>Проверьте правильность написания имя</span>
|
||
{% endif %}
|
||
<label><input name="email" type="text" placeholder="E-mail"></label>
|
||
{% if errors and 'email' in errors %}
|
||
<span></span>
|
||
{% endif %}
|
||
<label><input name="password" type="text" placeholder="Пароль"></label>
|
||
{% if errors and 'password' in errors %}
|
||
<span></span>
|
||
{% endif %}
|
||
<label><input name="lastname" type="text" placeholder="Фамилия"></label>
|
||
{% if errors and 'lastname' in errors %}
|
||
<span></span>
|
||
{% endif %}
|
||
<label><input name="tel" type="text" placeholder="Телефон"></label>
|
||
{% if errors and 'tel' in errors %}
|
||
<span></span>
|
||
{% endif %}
|
||
<label><input name="confirm_password" type="text" placeholder="Подтвердить пароль"></label>
|
||
{% if errors and 'confirm_password' in errors %}
|
||
<span></span>
|
||
{% endif %}
|
||
</div>
|
||
|
||
<input type="checkbox"> <p>Регистрируясь, я соглашаюсь с Лицензионным соглашениеми и Политикой конфиденциальности</p>
|
||
|
||
<div class="reg_button">
|
||
<button id="registration" onclick="SendRegistrationForm(this)"> Зарегистрироваться </button>
|
||
</div>
|
||
</form>
|
||
|
||
|
||
|
||
</div> |