{% if include.menu %} {% assign menu = include.menu | split: ',' %} {% for item in menu %} {% if item == '|' %}
{% elsif item contains 'h:' %}

{{ item | replace: 'h:', '' }}

{% elsif item contains 'a:' %} {{ item | replace: 'a:', '' }} {% elsif item contains 'd:' %} {{ item | replace: 'd:', '' }} {% else %} {{ item }} {% endif %} {% endfor %} {% elsif include.check or include.radio %} {% for i in (1..3) %} {% endfor %} {% elsif include.people %} {% for person in people limit: 5 %} {% include "ui/avatar.html" person-id=person.id class="rounded me-2" size="xs" %} {{ person.full_name }} {% endfor %} {% elsif include.type == 'text' %} {% else %} {% if include.header %}Dropdown header{% endif %} {% if include.icons %}{% include "ui/icon.html" icon="settings" class="dropdown-item-icon" %} {% endif %} Action {% if include.badge %}12{% endif %} {% if include.icons %}{% include "ui/icon.html" icon="edit" class="dropdown-item-icon" %} {% endif %}Another action {% if include.badge %}{% endif %} {% if include.active %}{% if include.icons %}{% include "ui/icon.html" icon="activity" class="dropdown-item-icon" %} {% endif %}Active action{% endif %} {% if include.disabled %}{% if include.icons %}{% include "ui/icon.html" icon="user-x" class="dropdown-item-icon" %} {% endif %}Disabled action{% endif %} {% if include.separated %}
{% if include.icons %}{% include "ui/icon.html" icon="plus" class="dropdown-icon" class="dropdown-item-icon" %} {% endif %}Separated link {% endif %} {% endif %}