{% extends "@MauticCore/Default/content.html.twig" %}

{% set mauticContent = 'theme' %}
{% set headerTitle = 'mautic.core.themes'|trans %}

{% block headerTitle %}{{ headerTitle }}{% endblock %}

{% block actions %}
  {% include "@MauticCore/Theme/form.html.twig" with {
      form: form
    }
  %}
{% endblock %}

{% block content %}
<div id="page-list-wrapper" class="panel panel-default">
  {% include "@MauticCore/Helper/list_toolbar.html.twig" with {
    action: currentRoute,
    'bulk_actions': {
      'langVar' : 'core.theme',
      'routeBase': 'themes',
      'templateButtons': {
          'delete': permissions['core:themes:delete'],
      },
    },
  } %}
    <div class="page-list">
        {% if block('mainContent') is defined %}{{ block('mainContent') }}{% endif %}
    </div>
</div>
{% endblock %}