{{ header }}
<header class="background-white bottom-margin-large">
  <div class="container-fluid">
    <div class="row no-space-xs">
      <div class="col-xs-12">
        <div class="content-box vertical-padding-large flex between-xs middle-xs">
          <div>
            <span class="text-x-large text-dark">{{ heading_title }}</span>
            <div class="adm-breadcrumb">
              {% for breadcrumb in breadcrumbs %}
                <i class="fas fa-angle-right text-x-small text-gray horizontal-padding-small"></i>
                <a class="text-x-small text-gray text-decoration-none" href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a>
              {% endfor %}
            </div>
          </div>
        </div>
        {% if error_warning %}
          <div class="warning full-width">{{ error_warning }}</div>
        {% endif %}
        {% if success %}
          <div class="success full-width">{{ success }}</div>
        {% endif %}
      </div>
    </div>
  </div>
</header>
<div class="container-fluid">
  <div class="row">
    <div class="col-xs-12">
      <div class="content-box">
        {% if languages %}
          <form action="{{ delete }}" method="post" class="js-main-form">
            {% for language in languages %}
              <a href="{{ language.href }}" class="visible-block text-decoration-none background-white shadow-small hover:shadow-large bottom-margin-small">
                <div class="row no-space-xs middle-xs padding-medium">
                   <div class="col-xs col-sm">
                    <span class="text-small text-dark">{{ language.name }}</span>
                  </div>
                  <div class="col-xs col-sm">
                    <span class="text-small text-gray">{{ column_sort_order }}:</span>
                    <span class="text-small text-dark">{{ language.sort_order }}</span>
                  </div>
                </div>
              </a>
            {% endfor %}
          </form>
          <div class="row top-margin-medium">
            <div class="col-xs-12">
              <div class="content-box">
                {{ pagination }}
              </div>
            </div>
          </div>
        {% else %}
          <div class="row">
            <div class="col-xs-12">
              <div
                class="content-box background-white shadow-small vertical-padding-x-large horizontal-padding-large text-center">
                <span class="text-medium text-gray">{{ text_no_results }}</span>
              </div>
            </div>
          </div>
        {% endif %}
      </div>
    </div>
  </div>
</div>
{{ footer }}