1234 |
- <form method="post" action="{{ path('app_article_delete', {'id': article.id}) }}" onsubmit="return confirm('Êtes-vous certain de vouloir supprimer cet article ?');">
- <input type="hidden" name="_token" value="{{ csrf_token('delete' ~ article.id) }}">
- <button class="btn btn-red">Supprimer</button>
- </form>
|