{% extends "main/form/base.html" %} {% load main_extras %} {% load i18n %} {% block title_new %} {% translate "Create category" %} {% endblock %} {% block h2_new %} {% translate "New category" %} {% endblock %} {% block h2 %}{{ form.instance.icon|remix }}{{ form.instance }}{% endblock %} {% block tables %} {% if transactions %}

{% translate "Transactions" %}

{% include "main/table/transaction.html" %} {% endif %} {% if history.data %}

{% translate "History" %}

{% include "main/plot/history.html" %} {% endif %} {% endblock %}