mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-27 02:20:31 +00:00
Remove redundant class
attribute and format template.
This commit is contained in:
parent
52d2f0e331
commit
a21f954fb1
1 changed files with 24 additions and 3 deletions
|
@ -1,13 +1,34 @@
|
||||||
|
{% spaceless %}
|
||||||
{% load bookwyrm_tags %}
|
{% load bookwyrm_tags %}
|
||||||
|
|
||||||
{% with 0|uuid as uuid %}
|
{% with 0|uuid as uuid %}
|
||||||
<div class="dropdown control{% if right %} is-right{% endif %}" id="menu-{{ uuid }}">
|
<div
|
||||||
<button type="button" class="button dropdown-trigger pulldown-menu {{ class }}" aria-expanded="false" class="pulldown-menu" aria-haspopup="true" aria-controls="menu-options-{{ uuid }}" data-controls="menu-{{ uuid }}">
|
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 }}"
|
||||||
|
>
|
||||||
{% block dropdown-trigger %}{% endblock %}
|
{% block dropdown-trigger %}{% endblock %}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<div class="dropdown-menu">
|
<div class="dropdown-menu">
|
||||||
<ul class="dropdown-content" role="menu" id="menu-options-{{ uuid }}">
|
<ul
|
||||||
|
id="menu-options-{{ uuid }}"
|
||||||
|
class="dropdown-content"
|
||||||
|
role="menu"
|
||||||
|
>
|
||||||
{% block dropdown-list %}{% endblock %}
|
{% block dropdown-list %}{% endblock %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
{% endspaceless %}
|
||||||
|
|
Loading…
Reference in a new issue