{% extends "pos/base.html" %}
{% load django_bootstrap_breadcrumbs %}
{% load crispy_forms_tags %}
{% load bootstrap_pagination %}
        
{% block breadcrumbs %}
    {{ block.super }}
    {% breadcrumb "Posts" "pos:adminPostList" %}
{% endblock %}

{% block content %}
<h1>Post List</h1>
{% include "pos/_filter.html" with filters=filters %}
<hr/>

    {% include "pos/_table.html"  with cols=displayList editLink='pos:postEdit' objs=pageObj createLink='pos:postCreate' name='Post' %}
    {% if pageObj %}
    {% bootstrap_paginate pageObj %}
    {% endif %}
{% endblock %}
