{# Row buttons. Include with kind (URL segment), prefix (DOM id prefix), item, first, last. #}
{% url 'catalog:edit' kind item.id as edit_url %} {% translate "Edit" %}: {{ item.name }} {% url 'catalog:move' kind item.id 'up' as up_url %}
{% csrf_token %}
{% url 'catalog:move' kind item.id 'down' as down_url %}
{% csrf_token %}
{% url 'catalog:toggle' kind item.id as toggle_url %}
{% csrf_token %}