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

18 lines
399 B
Twig

{% extends 'base.html.twig' %}
{% block title %}{{'New Beer'}}{% endblock %}
{% block body %}
<div class="container">
<h1 class="display-1">{{'Create new Beer'}}</h1>
{{ 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>
{% endblock %}