Implement comments

This commit is contained in:
2024-06-10 20:51:42 +02:00
parent b4a1ae592f
commit 67ff9ff8db
20 changed files with 479 additions and 5 deletions

View File

@@ -0,0 +1,4 @@
<form method="post" action="{{ path('app_post_comment_delete', {'id': comment.id}) }}" onsubmit="return confirm('Are you sure you want to delete this comment?');">
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ comment.id) }}">
<button class="btn btn-danger">Delete</button>
</form>