2020-02-13 13:13:27 -05:00
{% extends '_base.html' %}
{% load buttons %}
{% load helpers %}
{% block content %}
< div class = "pull-right noprint" >
2020-02-13 14:07:15 -05:00
{% if permissions.add and 'add' in action_buttons %}
2020-02-13 13:13:27 -05:00
{% add_button content_type.model_class|url_name:"add" %}
2020-02-13 14:07:15 -05:00
{% endif %}
{% if permissions.add and 'import' in action_buttons %}
2020-02-13 13:13:27 -05:00
{% import_button content_type.model_class|url_name:"import" %}
{% endif %}
2020-02-13 14:07:15 -05:00
{% if 'export' in action_buttons %}
{% export_button content_type %}
{% endif %}
2020-02-13 13:13:27 -05:00
< / div >
< h1 > {% block title %}{{ content_type.model_class|model_name_plural|bettertitle }}{% endblock %}< / h1 >
< div class = "row" >
2020-02-13 17:11:39 -05:00
< div class = "col-md-9" >
{% include 'utilities/obj_table.html' with bulk_edit_url=content_type.model_class|url_name:"bulk_edit" bulk_delete_url=content_type.model_class|url_name:"bulk_delete" %}
< / div >
< div class = "col-md-3 noprint" >
{% if filter_form %}
2020-02-13 13:13:27 -05:00
{% include 'inc/search_panel.html' %}
2020-02-13 17:11:39 -05:00
{% endif %}
{% block sidebar %}{% endblock %}
< / div >
2020-02-13 13:13:27 -05:00
< / div >
{% endblock %}