23 lines
906 B
Twig
23 lines
906 B
Twig
|
|
<table class="table table-bordered">
|
||
|
|
<thead>
|
||
|
|
<tr><th>ID</th><th>Assistant IA</th><th>Contribution</th><th>Pertinence</th><th>Temps</th><th>Actions</th></tr>
|
||
|
|
</thead>
|
||
|
|
<tbody>
|
||
|
|
{% for contrib in contribIas %}
|
||
|
|
<tr>
|
||
|
|
<td>{{ contrib.id }}</td>
|
||
|
|
<td>{{ contrib.assistantIa.nom }}</td>
|
||
|
|
<td>{{ contrib.contribution.titre }}</td>
|
||
|
|
<td>{{ contrib.getLibellePertinence() }}</td>
|
||
|
|
<td>{{ contrib.getLibelleTemps() }}</td>
|
||
|
|
<td>
|
||
|
|
<button class="btn btn-warning btn-edit" data-url="{{ path('contribia_edit', {'id': contrib.id}) }}">Modifier</button>
|
||
|
|
<form style="display:inline" method="post" action="{{ path('contribia_delete', {'id': contrib.id}) }}">
|
||
|
|
<button class="btn btn-danger" onclick="return confirm('Supprimer ?')">Supprimer</button>
|
||
|
|
</form>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
{% endfor %}
|
||
|
|
</tbody>
|
||
|
|
</table>
|