mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-18 05:28:16 -06:00
Clean up bulk edit template
This commit is contained in:
parent
fb929051f3
commit
c1ecd2246e
@ -38,7 +38,7 @@ Context:
|
||||
|
||||
{# Edit form #}
|
||||
<div class="tab-pane show active" id="edit-form" role="tabpanel" aria-labelledby="edit-form-tab">
|
||||
<form action="" method="post" class="form form-horizontal">
|
||||
<form action="" method="post" class="form form-horizontal mt-5">
|
||||
|
||||
{% csrf_token %}
|
||||
{% if request.POST.return_url %}
|
||||
@ -48,10 +48,6 @@ Context:
|
||||
{{ field }}
|
||||
{% endfor %}
|
||||
|
||||
<div class="row">
|
||||
<div class="col col-md-12 col-lg-10 offset-lg-1">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
{% if form.fieldsets %}
|
||||
|
||||
{# Render grouped fields according to declared fieldsets #}
|
||||
@ -117,15 +113,11 @@ Context:
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-end">
|
||||
<button type="submit" name="_apply" class="btn btn-primary">{% trans "Apply" %}</button>
|
||||
<a href="{{ return_url }}" class="btn btn-outline-danger">{% trans "Cancel" %}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user