1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Tweak the table config form for generic use

This commit is contained in:
Jeremy Stretch
2020-10-21 16:06:37 -04:00
parent 4de7fcd758
commit ff3d0b72b9
2 changed files with 24 additions and 8 deletions

View File

@@ -7,8 +7,7 @@
<h4 class="modal-title">Table Configuration</h4>
</div>
<div class="modal-body">
<form action="" method="post" class="form-horizontal tableconfigform" data-table-name="{{ table_config_form.table_name }}">
{% csrf_token %}
<form class="form-horizontal userconfigform" data-config-root="tables.{{ table_config_form.table_name }}">
{% render_form table_config_form %}
<div class="row">
<div class="col-md-9 col-md-offset-3">