0.1.354 mailingSubscribeRequired functional
This commit is contained in:
@@ -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 %}
|
||||
|
||||
@@ -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" %}">
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user