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