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

18 lines
399 B
Twig
Raw Normal View History

2021-02-18 19:13:14 +00:00
{% extends 'base.html.twig' %}
{% block title %}{{'New Beer'}}{% endblock %}
2021-02-18 19:13:14 +00:00
{% block body %}
<div class="container">
<h1 class="display-1">{{'Create new Beer'}}</h1>
2021-02-18 19:13:14 +00:00
{{ include('beer/_form.html.twig') }}
<a href="{{ path('beer_index') }}" class="btn btn-secondary" role="button">
<i class="fa fa-arrow-left fa-fw"></i> {{'back to list'}}
</a>
</div>
2021-02-18 19:13:14 +00:00
{% endblock %}