Standardize usage of table template

This commit is contained in:
jeremystretch
2021-12-13 15:36:51 -05:00
parent dc1331e736
commit c50dc1eb35
45 changed files with 167 additions and 115 deletions

View File

@@ -1,6 +1,7 @@
{% extends 'generic/object.html' %}
{% load helpers %}
{% load plugins %}
{% load render_table from django_tables2 %}
{% block content %}
<div class="row mb-3">
@@ -49,8 +50,8 @@
<h5 class="card-header">
Device Types
</h5>
<div class="card-body">
{% include 'inc/table.html' with table=devicetypes_table %}
<div class="card-body table-responsive">
{% render_table devicetypes_table 'inc/table.html' %}
</div>
{% if perms.dcim.add_devicetype %}
<div class="card-footer text-end noprint">