{# /***************************************************************************** File name: villa-panel-amennity.html.twig Project: Villas3 Copyright 2024 Michael J. Miller, All rights reserved Purpose: villa settings panel Requires: villa_id villa_list Revision History: Date Version Details -------- ------ ------------------------------------------------- 4/25/24 3.0a created 10/26/26 4.1 Prevent changine data in demo. ******************************************************************************/ #} {% import "includes/amenity-icon-macro.html.twig" as icon %}
Check box to add to property. Rearrange amenity list for all properties by dragging an item. Click on the pencil icon to edit or delete amenity.

Categories

{% include "includes/messages.html.twig" %}

Drag categories to rearrange

{% include '/includes/category-editor.html.twig' %}

Edit Amenity

{% include "includes/messages.html.twig" %}

Changes made here affect all properties using this amenity.

{% set formname = 'amenity' %}
Amenity
Icon Name
Icon
{% set category = '' %} {% for amen in amens %} {% if amen.cat_name != category %}
{% set category = amen.cat_name %}
{{ category }}
{% endif %}
{{ amen.amenity_id }} {{ amen.name }}
{{ amen.icon }}
{{ icon.icon(amen.icon, amen.icon_color, amen.icon_color_alt, amen.icon_style, false) }}
{# {% if amen.in_use %} #}   {# - #} {# {% else %} #} {#   #} {# {% endif %} #}
{% endfor %}