Create form for setting table preferences

This commit is contained in:
Jeremy Stretch
2020-04-28 12:14:51 -04:00
parent 0ee1112d9d
commit e8d493578b
5 changed files with 92 additions and 18 deletions
+3
View File
@@ -18,6 +18,9 @@
<h1>{% block title %}{{ content_type.model_class|meta:"verbose_name_plural"|bettertitle }}{% endblock %}</h1>
<div class="row">
<div class="col-md-{% if filter_form %}9{% else %}12{% endif %}">
{% if table_config_form %}
{% include 'inc/table_config_form.html' %}
{% endif %}
{% with bulk_edit_url=content_type.model_class|url_name:"bulk_edit" bulk_delete_url=content_type.model_class|url_name:"bulk_delete" %}
{% if permissions.change or permissions.delete %}
<form method="post" class="form form-horizontal">