1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00
Files
tabler/pages/_includes/ui/dropdown-menu.html
2019-09-26 00:13:52 +02:00

11 lines
394 B
HTML

{% assign items = include.items | default: "Action|Another action|Something else|-|Separated link" | split: "|" %}
<div class="dropdown-menu{% if include.right %} dropdown-menu-right{% endif %}">
{% for item in items %}
{% if item == '-' %}
<div class="dropdown-divider"></div>
{% else %}
<a class="dropdown-item" href="javascript:void(0)">{{ item }}</a>
{% endif %}
{% endfor %}
</div>