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

20 lines
491 B
Twig
Raw Normal View History

2021-02-18 19:13:14 +00:00
{% extends 'base.html.twig' %}
{% block title %}{{'Edit Beer'}}{% endblock %}
2021-02-18 19:13:14 +00:00
{% block body %}
<div class="container">
2021-02-18 19:13:14 +00:00
<h1 class="display-1">{{'Edit Beer'}}</h1>
2021-02-18 19:13:14 +00:00
{{ 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>
2021-02-18 19:13:14 +00:00
{{ include('beer/_delete_form.html.twig') }}
</div>
2021-02-18 19:13:14 +00:00
{% endblock %}