update button & navbar

This commit is contained in:
bastien ollier
2024-06-13 08:52:43 +02:00
committed by clfreville2
parent bc6951d0a5
commit 6aeb32192f
12 changed files with 41 additions and 23 deletions

View File

@@ -44,9 +44,9 @@
</tbody>
</table>
<a href="{{ path('app_post_index') }}">{{ 'back_to_list'|trans }}</a>
<a class="btn btn-warning mb-4 mt-4" href="{{ path('app_post_index') }}">{{ 'back_to_list'|trans }}</a>
<a href="{{ path('app_post_edit', {'id': post.id}) }}">{{ 'edit'|trans }}</a>
<a class="btn btn-success mb-4 mt-4" href="{{ path('app_post_edit', {'id': post.id}) }}">{{ 'edit'|trans }}</a>
{{ include('post/_delete_form.html.twig') }}