ynh_extension_meeo/templates/edu_eleves.twig

29 lines
1.1 KiB
Twig
Raw Normal View History

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>
<form action="?api/meeo/eleves" method="post" enctype="application/json">
2024-07-17 15:23:33 +00:00
{% for eleve in eleves|sort %}
<div class="row form-group" id="{{eleve['id_fiche']}}" name="{{eleve['id_fiche']}}">
2024-07-17 15:23:33 +00:00
<div class="col-sm-8">{{ eleve['bf_nom'] }}</div>
<div class="col-sm-3">
<select id="{{eleve['id_fiche']}}_classe" name="{{eleve['id_fiche']}}_classe" class="form-control">
{% for identifier, classe in classes %}
<option value="{{identifier}}">{{classe}}</option>
{% endfor %}
</select>
</div>
<div class="col-sm-1 text-center">
<input id="{{eleve['id_fiche']}}_del" name="{{eleve['id_fiche']}}_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>