2024-07-17 15:23:33 +00:00
|
|
|
<div class="container">
|
2024-07-17 09:31:56 +00:00
|
|
|
<div class="row">
|
2024-07-17 15:23:33 +00:00
|
|
|
<div class="col-sm-8"><h2>Nom</h5></div>
|
|
|
|
<div class="col-sm-3"><h2>Classe</h2></div>
|
|
|
|
<div class="col-sm-1 text-center"><h2><span class="glyphicon glyphicon-trash"></span></h2></div>
|
2024-07-17 09:31:56 +00:00
|
|
|
</div>
|
2024-07-17 17:15:22 +00:00
|
|
|
<form action="?api/meeo/eleves" method="post" enctype="application/json">
|
2024-07-17 15:23:33 +00:00
|
|
|
{% for eleve in eleves|sort %}
|
2024-07-27 12:14:54 +00:00
|
|
|
<div class="row form-group" id="{{ eleve.getId() }}" name="{{ eleve.getId() }}">
|
|
|
|
<div class="col-sm-8">{{ eleve.getNom() }}</div>
|
2024-07-17 15:23:33 +00:00
|
|
|
<div class="col-sm-3">
|
2024-07-27 12:14:54 +00:00
|
|
|
<select id="{{ eleve.getId() }}_classe" name="{{ eleve.getId() }}_classe" class="form-control">
|
2024-08-02 17:19:00 +00:00
|
|
|
{% for id, classe in classes %}
|
|
|
|
<option value="{{id}}" {% if eleve.classe == id %}selected{% endif %} >{{classe}}</option>
|
2024-07-17 15:23:33 +00:00
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-1 text-center">
|
2024-07-27 12:14:54 +00:00
|
|
|
<input id="{{eleve.getId()}}_del" name="{{eleve.getId()}}_del" class="form-check-input" type="checkbox" value=""/>
|
2024-07-17 15:23:33 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-07-17 09:31:56 +00:00
|
|
|
{% endfor %}
|
2024-07-17 15:23:33 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12 text-center">
|
|
|
|
<button class="btn btn-default">Valider</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
2024-07-17 09:31:56 +00:00
|
|
|
</div>
|