Clean up bulk edit template

This commit is contained in:
Jeremy Stretch 2024-01-05 16:32:55 -05:00
parent fb929051f3
commit c1ecd2246e

View File

@ -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>