{% extends "pos/adminPostList.html" %}
{% load django_bootstrap_breadcrumbs %}
{% block breadcrumbs %}
    {{ block.super }}
    {% if form.instance %}
        {% breadcrumb "Post Edit" "pos:adminPostEdit" form.instance.id %}
    {% else %}
        {% breadcrumb "Post Create" "pos:adminPostCreate" form.instance.id %}
    {% endif %}
{% endblock %}
{% block content %}
<h1>Post Form</h1>
{% include 'pos/_form.html' with form=form obj=form.instance formsets=formsets   %}
{% endblock %}
