<div class="row">
  <div class="col-lg-3">
    <div class="mb-3">
      <a href="{{ compare }}" id="compare-total" class="btn btn-primary d-block"><i class="fa-solid fa-arrow-right-arrow-left"></i> <span class="d-none d-xl-inline">{{ text_compare }}</span></a>
    </div>
  </div>
  <div class="col-lg-1 d-none d-lg-block">
    <div class="btn-group">
      <button type="button" id="button-list" class="btn btn-light" title="{{ button_list }}"><i class="fa-solid fa-table-list"></i></button>
      <button type="button" id="button-grid" class="btn btn-light" title="{{ button_grid }}"><i class="fa-solid fa-table-cells"></i></button>
    </div>
  </div>
  <div class="col-lg-4 offset-lg-1 col-6">
    <div class="input-group mb-3">
      <label for="input-sort" class="input-group-text">{{ text_sort }}</label>
      <select id="input-sort" class="form-select" onchange="location = this.value;">
        {% for sorts in sorts %}
          <option value="{{ sorts.href }}"{% if sorts.value == '%s-%s'|format(sort, order) %} selected{% endif %}>{{ sorts.text }}</option>
        {% endfor %}
      </select>
    </div>
  </div>
  <div class="col-lg-3 col-6">
    <div class="input-group mb-3">
      <label for="input-limit" class="input-group-text">{{ text_limit }}</label>
      <select id="input-limit" class="form-select" onchange="location = this.value;">
        {% for limits in limits %}
          <option value="{{ limits.href }}"{% if limits.value == limit %} selected{% endif %}>{{ limits.text }}</option>
        {% endfor %}
      </select>
    </div>
  </div>
</div>