1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-22 18:04:26 +04:00
Files
tabler/pages/_includes/ui/dropdown-menu.html
2019-03-12 22:09:23 +01:00

11 lines
377 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="#">{{ item }}</a>
{% endif %}
{% endfor %}
</div>