mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Standardize usage of table template
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{% extends 'base/layout.html' %}
|
||||
{% load form_helpers %}
|
||||
{% load render_table from django_tables2 %}
|
||||
|
||||
{% block title %}Add {{ model_name|title }}{% endblock %}
|
||||
|
||||
@@ -15,8 +16,8 @@
|
||||
{% endfor %}
|
||||
<div class="row">
|
||||
<div class="col col-md-7">
|
||||
<div class="card">
|
||||
{% include 'inc/table.html' %}
|
||||
<div class="table-responsive">
|
||||
{% render_table table 'inc/table.html' %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col col-md-5">
|
||||
|
Reference in New Issue
Block a user