This commit is contained in:
Takeus committed 2025-02-04 23:13:32 +01:00
1 parent 602bb7d706
commit 9f9f90422a
7 files changed
+74 -25

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
{% if modal.action == 'delete' %}
<a href="{{modal.action_url}}" class="btn btn-{{modal.color}}">{{modal.action_text}}</a>
<a href="{{modal.action_url}}?page={{old_page}}" class="btn btn-{{modal.color}}">{{modal.action_text}}</a>
{% else %}
<button type="button" class="btn btn-primary">Save changes</button>
{% endif %}