2016-07-26 14:58:37 -04:00
|
|
|
{% extends '_base.html' %}
|
2018-02-02 16:12:57 -05:00
|
|
|
{% load buttons %}
|
2016-07-26 14:58:37 -04:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="pull-right">
|
|
|
|
{% if perms.tenancy.add_tenant %}
|
2018-02-02 16:12:57 -05:00
|
|
|
{% add_button 'tenancy:tenant_add' %}
|
|
|
|
{% import_button 'tenancy:tenant_import' %}
|
2016-07-26 14:58:37 -04:00
|
|
|
{% endif %}
|
2018-02-02 16:12:57 -05:00
|
|
|
{% export_button content_type %}
|
2016-07-26 14:58:37 -04:00
|
|
|
</div>
|
2017-08-02 13:15:28 -04:00
|
|
|
<h1>{% block title %}Tenants{% endblock %}</h1>
|
2016-07-26 14:58:37 -04:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-9">
|
|
|
|
{% include 'utilities/obj_table.html' with bulk_edit_url='tenancy:tenant_bulk_edit' bulk_delete_url='tenancy:tenant_bulk_delete' %}
|
|
|
|
</div>
|
|
|
|
<div class="col-md-3">
|
2016-07-29 12:51:23 -04:00
|
|
|
{% include 'inc/search_panel.html' %}
|
2018-05-18 15:43:21 -04:00
|
|
|
{% include 'inc/tags_panel.html' %}
|
2016-07-26 14:58:37 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|