{% if not playlist.hidden %}
<button title="Llista visible (amaga-la)"
        class="text-beige text-2xl mx-2"
        hx-put="/api/llista/{{ playlist.id }}/invisible"
        hx-swap="outerHTML">
    <i class="fa fa-eye" aria-hidden="true"></i>
</button>
{% else %}
<button title="Llista invisible (mostra-la)"
        class="text-beige text-2xl mx-2"
        hx-put="/api/llista/{{ playlist.id }}/visible"
        hx-swap="outerHTML">
    <i class="fa fa-eye-slash" aria-hidden="true"></i>
</button>
{% endif %}
