|
|
|
@ -1,5 +1,5 @@ |
|
|
|
{% load static %} |
|
|
|
{% load static %} |
|
|
|
<div class="popup js-popup-auth {% if is_referral_registration %}open visible{% endif %}"> |
|
|
|
<div class="popup js-popup-auth"> |
|
|
|
<div class="popup__wrap js-popup-wrap"> |
|
|
|
<div class="popup__wrap js-popup-wrap"> |
|
|
|
<button class="popup__close js-popup-close"> |
|
|
|
<button class="popup__close js-popup-close"> |
|
|
|
<svg class="icon icon-close"> |
|
|
|
<svg class="icon icon-close"> |
|
|
|
@ -10,13 +10,13 @@ |
|
|
|
<div class="auth js-auth"> |
|
|
|
<div class="auth js-auth"> |
|
|
|
<div class="auth__login js-auth-login"> |
|
|
|
<div class="auth__login js-auth-login"> |
|
|
|
<div class="auth__nav"> |
|
|
|
<div class="auth__nav"> |
|
|
|
<a class="auth__type js-auth-type {% if not is_referral_registration %}active{% endif %}" href="#">Войти</a> |
|
|
|
<a class="auth__type js-auth-type_login js-auth-type" href="#">Войти</a> |
|
|
|
<a class="auth__type js-auth-type {% if is_referral_registration %}active{% endif %}" href="#">РЕГИСТРАЦИЯ</a> |
|
|
|
<a class="auth__type js-auth-type_registration js-auth-type" href="#">РЕГИСТРАЦИЯ</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="auth__body"> |
|
|
|
<div class="auth__body"> |
|
|
|
<form id="learner-auth-form" method="post" action="{% url 'lilcity:login' %}"> |
|
|
|
<form id="learner-auth-form" method="post" action="{% url 'lilcity:login' %}"> |
|
|
|
{% csrf_token %} |
|
|
|
{% csrf_token %} |
|
|
|
<div class="auth__tab js-auth-tab" {% if not is_referral_registration %}style="display: block;"{% endif %}> |
|
|
|
<div class="auth__tab js-auth-tab js-auth-tab_login"> |
|
|
|
<div class="auth__enter js-auth-enter"> |
|
|
|
<div class="auth__enter js-auth-enter"> |
|
|
|
<div id="learner-auth-field__username" class="auth__field field learner-auth-form__field"> |
|
|
|
<div id="learner-auth-field__username" class="auth__field field learner-auth-form__field"> |
|
|
|
<div class="field__label">ПОЧТА</div> |
|
|
|
<div class="field__label">ПОЧТА</div> |
|
|
|
@ -63,9 +63,14 @@ |
|
|
|
</form> |
|
|
|
</form> |
|
|
|
<form id="learner-registration-form" method="post" action="{% url 'lilcity:registration-learner' %}"> |
|
|
|
<form id="learner-registration-form" method="post" action="{% url 'lilcity:registration-learner' %}"> |
|
|
|
{% csrf_token %} |
|
|
|
{% csrf_token %} |
|
|
|
<div class="auth__tab js-auth-tab" {% if is_referral_registration %}style="display: block;"{% endif %}> |
|
|
|
<div class="auth__tab js-auth-tab js-auth-tab_registration"> |
|
|
|
{% if referrer %} |
|
|
|
{% if referrer %} |
|
|
|
<input type="hidden" name="referrer" value="{{ referrer.id }}"> |
|
|
|
<input type="hidden" name="referrer" value="{{ referrer.id }}"> |
|
|
|
|
|
|
|
<div class="auth__text"> |
|
|
|
|
|
|
|
Спасибо за то, что вы с нами! Вас пригласил ваш друг {{ referrer.get_full_name }}. |
|
|
|
|
|
|
|
При первой покупке {{ config.REFERRAL_BONUS }}% от суммы услуги будут зачислены на ваш бонусный счет. |
|
|
|
|
|
|
|
Приятного обучения! |
|
|
|
|
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
<div class="auth__fieldset"> |
|
|
|
<div class="auth__fieldset"> |
|
|
|
<div id="learner-registration-field__first-name" class="auth__field field learner-registration-form__field"> |
|
|
|
<div id="learner-registration-field__first-name" class="auth__field field learner-registration-form__field"> |
|
|
|
|