{% import "macros/paging.html" as paging %} {% extends "base.html" %} {% block title %} Revenus {% endblock title %} {% block main %} {% if not incomes %} Il n’y a aucun revenu. {% endif %} Ajouter un revenu {% if incomes %} Montant Personne Mois {% for income in incomes %} {{ income.amount | euros() }} {{ income.user }} {{ income.date }} {% endfor %} {{ paging::paging( url="/incomes", page=page, max_page=max_page ) }} {% endif %} {% endblock main %}