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

12 lines
234 B
Twig

{% extends 'base.html.twig' %}
{% block title %}New Beer{% endblock %}
{% block body %}
<h1>Create new Beer</h1>
{{ include('beer/_form.html.twig') }}
<a href="{{ path('beer_index') }}">back to list</a>
{% endblock %}