{% from 'ko_grid.htm' import ko_grid with context -%}
{% from 'ko_grid_body.htm' import ko_grid_body with context -%}
{% extends 'base.htm' -%}

{% block main -%}

{{
ko_grid(
    grid_options={
        'pageRoute': view.request.resolver_match.view_name,
        'pageRouteKwargs': view.kwargs,
    }
)
}}

{% endblock main -%}

{% block bottom_scripts -%}
    {{ ko_grid_body() }}
{% endblock bottom_scripts -%}
