{#
 # For the full copyright and license information, please view the
 # docs/licenses/LICENSE.txt file that was distributed with this source code.
 #}
{% extends '@PrestaShop/Admin/layout.html.twig' %}
{% trans_default_domain 'Admin.Advparameters.Feature' %}

{% block content %}
  {{ include('@PrestaShop/Admin/Common/multistore-infotip.html.twig') }}
  {% if requestSqlForm.vars.errors is not empty %}
    <div class="alert alert-danger">
      {% for error in requestSqlForm.vars.errors %}
        <div class="alert-text">{{ error.message }}</div>
      {% endfor %}
    </div>
  {% endif %}

  {{ include('@PrestaShop/Admin/Configure/AdvancedParameters/RequestSql/Blocks/form.html.twig') }}

  {% block sql_manager_db_tables_panel %}
    {{ include('@PrestaShop/Admin/Configure/AdvancedParameters/RequestSql/Blocks/db_tables_panel.html.twig') }}
  {% endblock %}

{% endblock %}

{% block javascripts %}
  {{ parent() }}

  <script src="{{ asset('themes/new-theme/public/sql_manager.bundle.js') }}"></script>
  <script src="{{ asset('themes/default/js/bundle/pagination.js') }}"></script>
{% endblock %}
