{#
 # For the full copyright and license information, please view the
 # docs/licenses/LICENSE.txt file that was distributed with this source code.
 #}

{% trans_default_domain 'Admin.International.Feature' %}
{% form_theme geolocationOptionsForm '@PrestaShop/Admin/TwigTemplateForm/prestashop_ui_kit.html.twig' %}

{% block geolocation_options %}
  <div class="card">
    <h3 class="card-header">
      {{ 'Options'|trans({}, 'Admin.Global') }}

      <span
        class="help-box"
        data-container="body"
        data-toggle="popover"
        data-trigger="hover"
        data-placement="right"
        data-content="{{ 'The following features are only available if you enable the Geolocation by IP address feature.'|trans }}"
        title=""
      >
      </span>
    </h3>
    <div class="card-body">
      <div class="form-wrapper">
        {{ form_widget(geolocationOptionsForm) }}
      </div>
    </div>
    <div class="card-footer">
      <div class="d-flex justify-content-end">
        <button class="btn btn-primary">
          {{ 'Save'|trans({}, 'Admin.Actions') }}
        </button>
      </div>
    </div>
  </div>
{% endblock %}
