Newer
Older
Mathéo Beaudouin
a validé
{% extends 'base.html.twig' %}
{% block body %}
<h1>Confirmer la suppression</h1>
<p>Êtes-vous sûr de vouloir supprimer ce commentaire de <strong>{{ commentaire.nomUtilisateur }}</strong> ?</p>
<form action="{{ path('commentaire_delete', {'etablissement_id': etablissement_id, 'id': commentaire.id}) }}" method="post">
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ commentaire.id) }}">
<button type="submit" class="btn btn-danger">Confirmer</button>
<a href="{{ path('show_commentaires', {'id': etablissement_id}) }}" class="btn btn-secondary">Annuler</a>
</form>
{% endblock %}