{% extends "expenses/base.html" %} {% block title %} Categorías {% endblock %} {% block content %}

Mis categorías

Nueva categoría

{% csrf_token %} {% include "expenses/_form_fields.html" %}

Listado

{% for row in category_rows %} {% empty %} {% endfor %}
Categoría Gastos
{{ row.category.name }} {% if row.category.is_system %} Del sistema {% endif %} {{ row.category.expense_count }} Editar {% if not row.category.is_system %} Eliminar {% endif %}

No hay categorías

{% endblock %}