
Co-authored-by: bastien ollier <bastien.ollier@etu.uca.fr> Reviewed-on: https://codefirst.iut.uca.fr/git/clement.freville2/herbarium/pulls/17 Reviewed-by: Clément FRÉVILLE <clement.freville2@etu.uca.fr> Co-authored-by: Bastien OLLIER <bastien.ollier@noreply.codefirst.iut.uca.fr> Co-committed-by: Bastien OLLIER <bastien.ollier@noreply.codefirst.iut.uca.fr>
13 lines
378 B
Twig
13 lines
378 B
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}Edit Post{% endblock %}
|
|
|
|
{% block body %}
|
|
<h1>{{ 'edit_post'|trans }}</h1>
|
|
|
|
{{ include('post/_form.html.twig', {'button_label': 'update'|trans}) }}
|
|
<a class="btn btn-warning mb-4 mt-4" href="{{ path('app_post_index') }}">{{ 'back_to_list'|trans }}</a>
|
|
|
|
{{ include('post/_delete_form.html.twig') }}
|
|
{% endblock %}
|