{{ header }}
  {{ content_app }}
  <div class="ftr-in-space--l">
    <span class="ftr-text--s">{{ text_contact }}</span>
  </div>
  <div class="ftr-container" id="contact-info" data-info='{"warning": "{{ error_warning }}"}'>
    <form class="ftr-form" action="{{ action }}" method="post" enctype="multipart/form-data" autocomplete="off">
      <label class="ftr-field {{ (error_name) ? 'error' : '' }}">
        <input type="text" id="name" name="name" class="ftr-field__entry ftr-js-field__entry" value="{{ name }}" maxlength="32" required>
        <span class="ftr-field__text">{{ entry_name }}</span>
        {% if error_name %}
          <span class="ftr-field__error">{{ error_name }}</span>
        {% endif %}
      </label>
      <label class="ftr-field {{ (error_email) ? 'error' : '' }}">
        <input type="email" id="email" name="email" class="ftr-field__entry ftr-js-field__entry" value="{{ email }}" required>
        <span class="ftr-field__text">{{ entry_email }}</span>
        {% if error_email %}
          <span class="ftr-field__error">{{ error_email }}</span>
        {% endif %}
      </label>
      <label class="ftr-field {{ (error_telephone_form) ? 'error' : '' }}">
        <input type="tel" id="phone" name="telephone_form" class="ftr-field__entry ftr-js-field__entry mask-phone" value="{{ telephone_form }}" required>
        <span class="ftr-field__text">{{ entry_telephone_form }}</span>
        {% if error_telephone_form %}
          <span class="ftr-field__error">{{ error_telephone_form }}</span>
        {% endif %}
      </label>
      <label class="ftr-field ftr-out-space--b-l {{ (error_enquiry) ? 'error' : '' }}">
        <textarea id="message" name="enquiry" rows="4" class="ftr-field__entry ftr-js-field__entry" data-value="{{ enquiry }}" required>{{ enquiry }}</textarea>
        <span class="ftr-field__text">{{ entry_enquiry }}</span>
        {% if error_enquiry %}
          <span class="ftr-field__error">{{ error_enquiry }}</span>
        {% endif %}
      </label>
      {% if google_captcha %}
        <div class="g-recaptcha ftr-out-space--b-l" data-sitekey="{{ site_key }}"></div>
    		{% if error_google_captcha %}
    			<span class="error">{{ error_google_captcha }}</span>
    		{% endif %}
      {% else %}
        <img src="index.php?route=information/contact/captcha" alt="" />
        <label class="ftr-field ftr-out-space--b-l {{ (error_captcha) ? 'error' : '' }}">
          <input type="text" id="captcha" name="captcha" class="ftr-field__entry ftr-js-field__entry" value="{{ captcha }}">
          <span class="ftr-field__text">{{ entry_captcha }}</span>
          {% if error_captcha %}
            <span class="ftr-field__error">{{ error_captcha }}</span>
          {% endif %}
        </label>
      {% endif %}
      <button type="submit" class="ftr-btn ftr-h--full ftr-background--primary ftr-js-ripple-effect">
        {{ button_continue }}
      </button>
    </form>
  </div>

  {% if exibe_endereco == 'yes' %}
    <div class="ftr-in-space--l">
      <span class="ftr-text--s">{{ text_location }}</span>
    </div>
    <div class="ftr-container ftr-in-space--n">

      {% if config_telephone %}
        {% for key, telephone in config_telephone %}
            <div class="ftr-h--full ftr-in-space--v-xl ftr-grid ftr-grid--nowrap">
              <i class="material-icons ftr-text--primary ftr-in-space--h-l">
                {% if (key == '1') %}
                  &#xE32C;
                {% endif %}

                {% if (key == '3') %}
                  &#xE8AD;
                {% endif %}

                {% if (key == '2') or (key == '4') %}
                  &#xE0CD;
                {% endif %}
              </i>
                <span class="ftr-text--s ftr-text--dark ftr-in-space--h-l">
                  {% for numero in telephone %}
                    <p>{{ numero }}</p>
                  {% endfor %}
                </span>

            </div>
        {% endfor %}
      {% endif %}

      {% if address %}
        <hr class="ftr-separator--partial">
        <div class="ftr-h--full ftr-in-space--n ftr-in-space--v-xl ftr-grid ftr-grid--nowrap">
          <i class="material-icons ftr-text--primary ftr-in-space--h-l">&#xE55F;</i>
          <span class="ftr-text--s ftr-text--dark ftr-in-space--h-l ftr-h--full">{{ address }}</span>
        </div>
      {% endif %}
    </div>
  {% endif %}

  {% if (config_exibe_map) and (config_contact_googlemaps_decode != '') and (exibe_endereco) %}
    <div class="ftr-maps">{{ config_contact_googlemaps_decode }}</div>
  {% endif %}
{{ footer }}
