{# /************************************************************* File name: includes/category-editor.html.twig Project: Villas3.com Copyright 2024 Michael J. Miller, All rights reserved Purpose: generate markup for category editor Requires: categories Revision History: Date Version Details -------- -------- -------------------------------------------- 6/11/24 3.0a Created. **************************************************************/ #} {% set formname = "category-editor" %}
{% for cat in categories %}
{% if cat.count > 0 %} {{cat.count}} amenities {% else %} not used  {% endif %}
{% endfor %}
new category