feat: loading indicators for regular get requests

This commit is contained in:
Björn Fromme
2026-03-16 11:59:11 +01:00
parent 37924841e1
commit 6a031e5a71
2 changed files with 4 additions and 0 deletions
@@ -52,12 +52,14 @@
{% if mode == 'edit' %}
<a href="{{ path('app_booking_edit_participant', {id: bookingId, index: index}) }}"
class="button bg-button bg-button--secondary"
data-action="click->loading#show"
{{ qa_attribute('btn-edit-participant', index) }}>
Bearbeiten
</a>
{% else %}
<a href="{{ path('app_booking_create_step_2_participant', {index: index}) }}"
class="button bg-button bg-button--secondary"
data-action="click->loading#show"
{{ qa_attribute('btn-edit-participant', index) }}>
Bearbeiten
</a>
@@ -362,12 +362,14 @@
{% if cancelRouteName is defined %}
<a href="{{ path(cancelRouteName, cancelRouteParams|default({})) }}"
class="button bg-button bg-button--secondary"
data-action="click->loading#show"
{{ qa_attribute('btn-cancel') }}>
Abbrechen
</a>
{% else %}
<a href="{{ path('app_booking_create_step_2') }}"
class="button bg-button bg-button--secondary"
data-action="click->loading#show"
{{ qa_attribute('btn-cancel') }}>
Abbrechen
</a>