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

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

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