forked from mirrors/bookwyrm
9 lines
383 B
HTML
9 lines
383 B
HTML
<label class="{% if class %}{{ class }}{% else %}button{% endif %}{% if small %} is-small{% endif %}" for="{{ controls_text }}{% if controls_uid %}-{{ controls_uid }}{% endif %}" tabindex="0" role="button">
|
|
{% if icon %}
|
|
<span class="icon icon-{{ icon }}">
|
|
<span class="is-sr-only">{{ text }}</span>
|
|
</span>
|
|
{% else %}
|
|
{{ text }}
|
|
{% endif %}
|
|
</label>
|