first commit
This commit is contained in:
7
templates/Kernel/partials/_admin_delete_form.twig
Normal file
7
templates/Kernel/partials/_admin_delete_form.twig
Normal file
@@ -0,0 +1,7 @@
|
||||
<form method="post" action="{{ action }}" class="admin-table__form"{% if confirm is defined and confirm %} onsubmit="return confirm('{{ confirm|e('js') }}')"{% endif %}>
|
||||
{% include '@Kernel/partials/_csrf_fields.twig' %}
|
||||
<button type="submit" class="btn btn--sm btn--danger"
|
||||
{% if disabled is defined and disabled %}disabled{% if disabled_title is defined and disabled_title %} title="{{ disabled_title }}"{% endif %}{% endif %}>
|
||||
{{ label|default('Supprimer') }}
|
||||
</button>
|
||||
</form>
|
||||
Reference in New Issue
Block a user