{% extends 'extends/offcanvas.html' %}
{% load i18n %}
{% load crispy_forms_tags %}

{% block title %}{% translate 'Edit category' %}{% endblock %}

{% block body %}
<form hx-post="{% url 'category_edit' category_id=category.id %}" hx-target="#generic-offcanvas" novalidate>
    {% crispy form %}
</form>
{% endblock %}
