Files
tripwithbonus/templates/forms/f_registration.html
2023-06-22 17:15:06 +03:00

47 lines
1.9 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="Имя"></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>