templates/abscence_sheet/liststudents.html.twig line 1

Open in your IDE?
  1. {% if students is defined%}
  2. <div class="col-md-1 table-responsive">
  3. </div>
  4. <div class="col-md-10 table-responsive">
  5. <table class="table table-bordered table-hover table-sortable" id="tab_logic">
  6. <thead>
  7. <tr>
  8. <th style="width:10%;" class="text-center">Matricule</th>
  9. <th style="width:30%;" class="text-center" >Nom et prénom</th>
  10. <th style="width:20%;" class="text-center" >Heures d'abscence</th>
  11. <th style="width:30%;" class="text-center" >Raison</th>
  12. </tr>
  13. </thead>
  14. <tbody>
  15. {%for student in students%}
  16. <tr id='addr0' data-id="0" class="hidden">
  17. <td data-name="name">
  18. {{student.matricule}}
  19. </td>
  20. <td data-name="name">
  21. {{student.lastname}} {{student.firstname}}
  22. </td>
  23. <td data-name="desc">
  24. <input type="number" id="{{student.matricule}}" placeholder="0...100"
  25. min="0" max="180" class="form-control value" name="{{student.matricule}}note"/>
  26. </td>
  27. <td data-name="desc">
  28. <input type="text" placeholder="Raison" class="form-control" value="RAS" name="{{student.matricule}}raison" />
  29. </td>
  30. </tr>
  31. {% endfor %}
  32. </tbody>
  33. </table>
  34. </div>
  35. <div class="col-md-1 table-responsive">
  36. </div>
  37. {% endif %}