connexion base et création premier crud
This commit is contained in:
26
templates/contribution/show.html.twig
Normal file
26
templates/contribution/show.html.twig
Normal file
@@ -0,0 +1,26 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Contribution{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Contribution</h1>
|
||||
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<td>{{ contribution.id }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Duree</th>
|
||||
<td>{{ contribution.duree }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<a href="{{ path('app_contribution_index') }}">back to list</a>
|
||||
|
||||
<a href="{{ path('app_contribution_edit', {'id': contribution.id}) }}">edit</a>
|
||||
|
||||
{{ include('contribution/_delete_form.html.twig') }}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user