start_sf5_project/app/templates/beer/edit.html.twig

14 lines
307 B
Twig

{% extends 'base.html.twig' %}
{% block title %}Edit Beer{% endblock %}
{% block body %}
<h1>Edit Beer</h1>
{{ include('beer/_form.html.twig', {'button_label': 'Update'}) }}
<a href="{{ path('beer_index') }}">back to list</a>
{{ include('beer/_delete_form.html.twig') }}
{% endblock %}