diff --git a/nummi/main/templates/main/category.html b/nummi/main/templates/main/category.html index 7273947..a489c4a 100644 --- a/nummi/main/templates/main/category.html +++ b/nummi/main/templates/main/category.html @@ -1,18 +1,37 @@ {% extends "main/base.html" %} +{% load static %} + +{% block link %} +{{ block.super }} + +{% endblock %} {% block body %} -

{{ category.tree|join:" → " }}

+

{{ category }}

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

Transactions ({{ transactions|length }})

{% endif %} {% endblock %}