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

20 lines
491 B
Twig

{% extends 'base.html.twig' %}
{% block title %}{{'Edit Beer'}}{% endblock %}
{% block body %}
<div class="container">
<h1 class="display-1">{{'Edit Beer'}}</h1>
{{ include('beer/_form.html.twig', {'button_label': 'Update', 'btn_color': 'warning'}) }}
<a href="{{ path('beer_index') }}" class="btn btn-secondary" role="button">
<i class="fa fa-arrow-left fa-fw"></i> {{'back to list'}}
</a>
{{ include('beer/_delete_form.html.twig') }}
</div>
{% endblock %}