{% load static %}
{% load i18n %}

    <form
          class="clear_form_footer"
          id="clear_input"
          data-name="msg_from_footer"
          {% if form.form_name %}data-name="{{ form.form_name}}"{% endif %}
    >
        <div class="footer_input_wrap">
            <input class="footer_input"
                   name="email"
                   type="email"
                   onkeydown  = "hideErrors(this)"
                    {% 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>
{% if form.errors.email %}
            <span id="error_footer">{{ form.errors.email }}</span>
        {% endif %}