|
@@ -39,7 +39,7 @@
|
|
|
{{ form_help(form.picture) }}
|
|
{{ form_help(form.picture) }}
|
|
|
{% if gamemaster.picture %}
|
|
{% if gamemaster.picture %}
|
|
|
<div class="field mt-2">
|
|
<div class="field mt-2">
|
|
|
- <p><a href="{{ path('app_admin_gamemaster_del_pic', {id: gamemaster.id}) }}" class="button is-danger"><twig:ux:icon name="bi:trash-fill" class="small-icon-in-text"/> Supprimer l'image chargée.</a></p>
|
|
|
|
|
|
|
+ <p><a href="#" data-id="{{ path('app_admin_gamemaster_del_pic', {id: gamemaster.id}) }}" class="button is-danger" {{ stimulus_controller('admin_confirm') }}><twig:ux:icon name="bi:trash-fill" class="small-icon-in-text"/> Supprimer l'image chargée.</a></p>
|
|
|
</div>
|
|
</div>
|
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
|
|