0.1.354 mailingSubscribeRequired functional

This commit is contained in:
2024-02-02 17:37:25 +03:00
parent 6a69ff02b1
commit abe53dd88b
8 changed files with 48 additions and 15 deletions

View File

@@ -17,7 +17,14 @@
{% endif %}
<div class="inputs_l">
<input name="username" type="text" placeholder="{{ p_login }}" {% if form.data.username %} value="{{ form.data.username }}"{% endif %}>
<input
name="username"
type="text"
placeholder="{{ p_login }}"
{% if form.data.username %} value="{{ form.data.username }}"{% endif %}
id="login_email_input"
>
{% if form.username and form.errors.username %}
<span>{{ form.errors.username }}</span>
{% endif %}

View File

@@ -7,10 +7,16 @@
data-name="msg_from_footer"
{% if form.form_name %}data-name="{{ form.form_name}}"{% endif %}
>
<div class="footer_input_wrap">
<div
onclick="event.stopPropagation()"
class="footer_input_wrap">
<input class="footer_input"
name="email"
type="email"
{% if user.is_authenticated %}
readonly
value="{{ user.email }}"
{% endif %}
onkeydown = "hideErrors(this)"
{% if form.data.email %} value="{{ form.data.email }}"{% endif %}
placeholder="{% trans "Введите ваш e-mail" %}">

View File

@@ -47,6 +47,7 @@
onkeydown = "hideErrors(this)"
type="text"
placeholder="E-mail"
id="registration_email_input"
{% if form.data.email %} value="{{ form.data.email }}"{% endif %}>
{% if form.errors and form.errors.email %}