10829 fix top edit selected button

This commit is contained in:
Arthur 2022-11-04 11:00:35 -07:00 committed by Jeremy Stretch
parent 271d524687
commit 43da786016

View File

@ -67,11 +67,12 @@ Context:
{% applied_filters filter_form request.GET %}
{% endif %}
<form method="post" class="form form-horizontal">
{% csrf_token %}
{# "Select all" form #}
{% if table.paginator.num_pages > 1 %}
<div id="select-all-box" class="d-none card noprint">
<form method="post" class="form col-md-12">
{% csrf_token %}
<div class="form col-md-12">
<div class="card-body">
<div class="float-end">
{% if 'bulk_edit' in actions %}
@ -88,14 +89,14 @@ Context:
</label>
</div>
</div>
</form>
</div>
</div>
{% endif %}
{# Object table controls #}
{% include 'inc/table_controls_htmx.html' with table_modal="ObjectTable_config" %}
<form method="post" class="form form-horizontal">
<div class="form form-horizontal">
{% csrf_token %}
<input type="hidden" name="return_url" value="{% if return_url %}{{ return_url }}{% else %}{{ request.path }}{% if request.GET %}?{{ request.GET.urlencode }}{% endif %}{% endif %}" />
@ -124,7 +125,7 @@ Context:
{% endblock %}
</div>
</div>
</div>
</form>
</div>