{% macro create_category_button(category, classes='') %}
    <button class="i-button {{ classes }}"
            data-ajax-dialog
            data-href="{{ url_for('.create_subcategory', category) }}"
            data-title="{% trans %}New category{% endtrans %}">
        {% trans %}Create subcategory{% endtrans %}
    </button>
{% endmacro %}
