2021-04-06 14:29:58 +00:00
|
|
|
{% spaceless %}
|
2021-01-18 00:29:46 +00:00
|
|
|
{% load bookwyrm_tags %}
|
2021-04-06 14:29:58 +00:00
|
|
|
|
2021-01-18 00:29:46 +00:00
|
|
|
{% with 0|uuid as uuid %}
|
2021-04-06 14:29:58 +00:00
|
|
|
<div
|
|
|
|
id="menu-{{ uuid }}"
|
|
|
|
class="
|
|
|
|
dropdown control
|
|
|
|
{% if right %}is-right{% endif %}
|
|
|
|
"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="button dropdown-trigger pulldown-menu {{ class }}"
|
|
|
|
type="button"
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="true"
|
|
|
|
aria-controls="menu-options-{{ uuid }}"
|
|
|
|
data-controls="menu-{{ uuid }}"
|
|
|
|
>
|
2021-01-18 00:29:46 +00:00
|
|
|
{% block dropdown-trigger %}{% endblock %}
|
|
|
|
</button>
|
2021-04-06 14:29:58 +00:00
|
|
|
|
2021-01-18 00:29:46 +00:00
|
|
|
<div class="dropdown-menu">
|
2021-04-06 14:29:58 +00:00
|
|
|
<ul
|
|
|
|
id="menu-options-{{ uuid }}"
|
2021-04-21 17:36:59 +00:00
|
|
|
class="dropdown-content p-0 is-clipped"
|
2021-04-06 14:29:58 +00:00
|
|
|
role="menu"
|
|
|
|
>
|
2021-01-17 19:09:49 +00:00
|
|
|
{% block dropdown-list %}{% endblock %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-01-18 00:29:46 +00:00
|
|
|
{% endwith %}
|
2021-04-06 14:29:58 +00:00
|
|
|
{% endspaceless %}
|