Task: Use small buttons
This commit is contained in:
@@ -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?',
|
||||||
|
|||||||
Reference in New Issue
Block a user