1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
{% extends "base_page.html" %} {% block content %} <table class="table table-hover"> <thead> <tr> <th scope="col">Fonction</th> </tr> </thead> <tbody> {% for capacity in capacities %} <tr> <td>{{ capacity.name }}</td> </tr> {% endfor %} </tbody> </table> {% endblock %}