{% extends 'crudlfap/list.html' %}

{% block content %}
<div class="row">
  <div class="col s12 m2">
    <form method="get" action="" data-controller="autosubmit" data-target="render-table" data-action="input->autosubmit#input change->autosubmit#input">
      {{ render_form(view.search_form) }}
      {{ render_form(view.filterset.form) }}
    </form>
  </div>

  <style type="text/css">
  .table-container .pager { display: none; }
  .table-container .btn-floating { margin-left: 6px; }
  </style>

  <div class="table-responsive col s12 m10" id="render-table">
    {{ render_table(request, view.table, object_list) }}
  </div>
</div>
{% include 'crudlfap/_pagination.html' %}
{% endblock %}
