38 lines
988 B
Twig
38 lines
988 B
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}{{'Beer'}}{% endblock %}
|
|
|
|
{% block body %}
|
|
<div class="container">
|
|
|
|
<h1 class="display-1">{{'Beer'}}</h1>
|
|
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th scope="row">{{'Id'}}</th>
|
|
<td>{{ beer.id }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">{{'Name'}}</th>
|
|
<td>{{ beer.name }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">{{'Alcool'}}</th>
|
|
<td>{{ beer.alcool }}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<a href="{{ path('beer_index') }}" class="btn btn-secondary" role="button">
|
|
<i class="fa fa-arrow-left fa-fw"></i> {{'back to list'}}
|
|
</a>
|
|
|
|
<a href="{{ path('beer_edit', {'id': beer.id}) }}" class="btn btn-warning" role="button">
|
|
<i class="fa fa-pencil fa-fw"></i> {{'edit'}}
|
|
</a>
|
|
|
|
{{ include('beer/_delete_form.html.twig') }}
|
|
</div>
|
|
{% endblock %}
|