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

{% form_theme taxRulesGroupForm '@PrestaShop/Admin/TwigTemplateForm/prestashop_ui_kit.html.twig' %}

{{ form_start(taxRulesGroupForm) }}
<div class="card">
  <h3 class="card-header">
    <i class="material-icons">payments</i>
    {{ 'Tax Rule'|trans({}, 'Admin.International.Feature') }}
  </h3>

  <div class="card-body">
    <div class="form-wrapper">
      {{ form_errors(taxRulesGroupForm) }}
      {% block tax_rules_group_form_widget %}
        {{ form_widget(taxRulesGroupForm) }}
      {% endblock %}
    </div>
  </div>

  <div class="card-footer">
    <div class="d-inline-flex">
      <a href="{{ path('admin_taxes_index') }}" class="btn btn-outline-secondary">
        {{ 'Cancel'|trans({}, 'Admin.Actions') }}
      </a>
    </div>
    <div class="d-inline-flex float-right">
      <button class="btn btn-primary" id="save-and-stay-button">{{ 'Save and stay'|trans({}, 'Admin.Actions') }}</button>
    </div>
  </div>

</div>
{{ form_end(taxRulesGroupForm) }}
