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 %}
|