0.0.292 upd error messages for forms
This commit is contained in:
@@ -3,9 +3,18 @@
|
||||
|
||||
<form class="clear_form" data-name="msg_from_footer">
|
||||
<div class="footer_input_wrap">
|
||||
<input class="footer_input" name="email" type="email" {% if form.data.email %} value="{{ form.data.email }}"{% endif %} placeholder="{% trans "Введите ваш e-mail" %}">
|
||||
<input class="footer_input"
|
||||
name="email"
|
||||
type="email"
|
||||
{% if form.data.email %} value="{{ form.data.email }}"{% endif %}
|
||||
placeholder="{% trans "Введите ваш e-mail" %}">
|
||||
<button onclick="RequestCommercialOffer(this)" id="footer_input_button">
|
||||
<img class="svg" src="/static/img/svg/CaretCircleRight.svg">
|
||||
</button>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</form>
|
||||
{% if form.errors.email %}
|
||||
<span id="error_footer">{{ form.errors.email }}</span>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user