{% extends "main/base.html" %} {% load static %} {% load main_extras %} {% block link %} {{ block.super }} {% endblock %} {% block body %}

{{ category }}

{% csrf_token %} {% for field in form %} {{ field.errors }} {{ field }} {% endfor %}
{% if transactions %}

Transactions

Date Nom Valeur Commerçant Catégorie Description
{% for trans in transactions %}
{{ trans.date|date:"Y-m-d" }} {{ trans.name }} {{ trans.value|floatformat:"2g"|pm }} € {{ trans.trader|default_if_none:"–" }} {% if trans.category %} {{ trans.category }} {% else %} – {% endif %} {{ trans.description }}
{% endfor %}
{% endif %} {% endblock %}