add progression
This commit is contained in:
22
templates/contribia/_list.html.twig
Normal file
22
templates/contribia/_list.html.twig
Normal file
@@ -0,0 +1,22 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user