#16009 Added btn-float-group style class and added to form templates for floating button groups

This commit is contained in:
atownson
2024-09-17 13:36:05 -05:00
parent 7167f20ca5
commit 8715f6fe87
6 changed files with 14 additions and 6 deletions

View File

@@ -102,7 +102,7 @@ Context:
{% endif %}
<div class="text-end">
<div class="text-end btn-float-group">
<a href="{{ return_url }}" class="btn btn-outline-secondary">{% trans "Cancel" %}</a>
<button type="submit" name="_apply" class="btn btn-primary">{% trans "Apply" %}</button>
</div>

View File

@@ -67,7 +67,7 @@ Context:
{% endblock form %}
</div>
<div class="text-end my-3">
<div class="text-end my-3 btn-float-group">
{% block buttons %}
<a href="{{ return_url }}" class="btn btn-outline-secondary">{% trans "Cancel" %}</a>
{% if object.pk %}

View File

@@ -37,7 +37,7 @@
</div>
{% endif %}
</div>
<div class="card-footer text-end d-print-none border-0">
<div class="card-footer text-end btn-float-group d-print-none border-0">
<button type="button" class="btn btn-outline-danger m-1" data-reset-select>
<i class="mdi mdi-backspace"></i> {% trans "Reset" %}
</button>