{# /***************************************************************************** File name: includes/amenity-icon.html.twig Project: Villas3.com Copyright 2024 Michael J. Miller, All rights reserved Purpose: generates markup for an icon. Used in amenity editor to update icon when changes are made. Requires: amen - amenity record Revision History: Date Version Details -------- -------- -------------------------------------------- 10/18/26 4.1 Created. ******************************************************************************/ #} {% import "includes/amenity-icon-macro.html.twig" as icon %} {# icon name of fontawesome icon icon_color color of icon (any html color can be specified) icon_color_alt secondary color used for duotone icons icon_style style of the icond (e.g. light, solid, duotone) ignore_default if desired, set to true before including this. #} {{ icon.icon(amen.icon, amen.icon_color, amen.icon_color_alt, amen.icon_style, true) }}