mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
11 lines
394 B
HTML
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>
|