Task: Use small buttons

This commit is contained in:
Björn Fromme
2023-10-19 09:57:07 +02:00
parent 930a04037f
commit 2c49c142b8
+3 -3
View File
@@ -48,7 +48,7 @@
<div class="flex items-center justify-end space-x-2"> <div class="flex items-center justify-end space-x-2">
{% if is_granted('DISPOSE', application) %} {% if is_granted('DISPOSE', application) %}
<button type="button" <button type="button"
class="btn" class="btn btn--small"
{{ stimulus_controller('modal-button', [], [], {'confirmation-modal': '#confirmation-modal'}) }} {{ stimulus_controller('modal-button', [], [], {'confirmation-modal': '#confirmation-modal'}) }}
{{ stimulus_action('modal-button', 'confirmation', null, { {{ stimulus_action('modal-button', 'confirmation', null, {
'title': 'Bist du sicher?', 'title': 'Bist du sicher?',
@@ -59,7 +59,7 @@
</button> </button>
{% endif %} {% endif %}
{% if is_granted('REJECT', application) %} {% if is_granted('REJECT', application) %}
<button type="button" class="btn btn--secondary" <button type="button" class="btn btn--secondary btn--small"
{{ stimulus_controller('modal-button', [], [], {'confirmation-modal': '#confirmation-modal'}) }} {{ stimulus_controller('modal-button', [], [], {'confirmation-modal': '#confirmation-modal'}) }}
{{ stimulus_action('modal-button', 'confirmation', null, { {{ stimulus_action('modal-button', 'confirmation', null, {
'title': 'Bist du sicher?', 'title': 'Bist du sicher?',
@@ -70,7 +70,7 @@
</button> </button>
{% endif %} {% endif %}
{% if is_granted('DELETE', application) %} {% if is_granted('DELETE', application) %}
<button type="button" class="btn btn--secondary" <button type="button" class="btn btn--secondary btn--small"
{{ stimulus_controller('modal-button', [], [], {'confirmation-modal': '#confirmation-modal'}) }} {{ stimulus_controller('modal-button', [], [], {'confirmation-modal': '#confirmation-modal'}) }}
{{ stimulus_action('modal-button', 'confirmation', null, { {{ stimulus_action('modal-button', 'confirmation', null, {
'title': 'Bist du sicher?', 'title': 'Bist du sicher?',