{% with list.show_links as show_links %} {% for cat in all_categories %}
  • {% if show_links %} {{ cat.title }} {% else %} {{ cat.title }} {% endif %} {% if list.editor %} {% if list.editor.allow_remove and not cat.is_locked %}
    {% csrf_token %} {% if list.editor.render_button %} {% else %} x {% endif %}
    {% endif %} {% endif %}
  • {% endfor %} {% endwith %}