Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
SDE
2024-09-10 13:51:14 +03:00
2 changed files with 18 additions and 7 deletions

View File

@@ -1000,6 +1000,16 @@ section.register>form {
display: inline-block;
width: 90%;
}
.necessary_text {
color: rgba(39, 36, 36, 0.60);
/* Body text 3 */
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 20px;
display: inline-block;
width: 100%;
}
.button_register>button {
display: block;

View File

@@ -1,14 +1,15 @@
{% load i18n %}
{% trans "Имя" as p_name %}
{% trans "Фамилия" as p_lastname %}
{% trans "Имя *" as p_name %}
{% trans "Фамилия *" as p_lastname %}
{% trans "Телефон" as p_tel %}
{% trans "Пароль" as p_password %}
{% trans "Подтвердить пароль" as p_con_password %}
{% trans "Пароль *" as p_password %}
{% trans "Подтвердить пароль *" as p_con_password %}
<section class="register">
<h1>{% translate "Регистрация" %}</h1>
<form
name="registration_form"
method="POST"
@@ -16,7 +17,7 @@
onsubmit="ym(97070898,'reachGoal','Registration'); return true;"
>
{% csrf_token %}
<div class="necessary_text">{% trans "Обязательные поля помечены значком *" %}</div>
<div class="inputs">
<div class="inp_firstname">
@@ -51,7 +52,7 @@
name="email"
onkeydown = "hideErrors(this)"
type="text"
placeholder="E-mail"
placeholder="E-mail *"
id="registration_email_input"
{% if form.data.email %} value="{{ form.data.email }}"{% endif %}>
@@ -107,7 +108,7 @@
<label id="agreement_check" for="agreement" onclick="hideErrors(this)"></label>
</div>
<div class="agree_text">{% translate "Регистрируясь, я соглашаюсь с Лицензионным соглашениеми и Политикой конфиденциальности" %}</div>
<div class="agree_text">{% translate "Регистрируясь, я соглашаюсь с Лицензионным соглашениеми и Политикой конфиденциальности." %}</div>
{% if form.errors and form.errors.agreement %}
<span id="reg_agree_error">{{ form.errors.agreement }}</span>
{% endif %}