0.0.3
This commit is contained in:
47
templates/forms/f_registration.html
Normal file
47
templates/forms/f_registration.html
Normal file
@@ -0,0 +1,47 @@
|
||||
<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>
|
||||
@@ -1,31 +1,3 @@
|
||||
|
||||
{% include 'inter/meta.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="username" type="text" placeholder="Имя"></label>
|
||||
<label><input name="email" type="text" placeholder="E-mail"></label>
|
||||
<label><input name="password" type="text" placeholder="Пароль"></label>
|
||||
<label><input name="surname" type="text" placeholder="Фамилия"></label>
|
||||
<label><input name="tel" type="text" placeholder="Телефон"></label>
|
||||
<label><input name="confirm password" type="text" placeholder="Подтвердить пароль"></label>
|
||||
</div>
|
||||
|
||||
<input type="checkbox"> <p>Регистрируясь, я соглашаюсь с Лицензионным соглашениеми и Политикой конфиденциальности</p>
|
||||
|
||||
<div class="reg_button">
|
||||
<button id="registration" onclick="SendRegistrationForm(this)"> Зарегистрироваться </button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
{% include 'forms/f_registration.html' %}
|
||||
Reference in New Issue
Block a user