mirror of
https://github.com/tabler/tabler.git
synced 2025-12-22 18:04:26 +04:00
11 lines
377 B
HTML
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>
|