<div class="flex flex-row flex-wrap justify-center"
     id="llista-name">
  <h3 class="text-3xl text-center p-4">
    {% if playlist.name %}
        {{ playlist.name }}
    {% else %}
        Llista de temes
    {% endif %}
  </h3>
  {% if logged_in %}
  <button title="Canvia el nom"
          class="text-beige text-2xl mx-2"
          hx-get="/api/llista/{{ playlist.id }}/editor/name"
          hx-target="#llista-name"
          hx-swap="outerHTML">
    <i class="fa fa-pencil" aria-hidden="true"></i>
  </button>
  {% include "fragments/llista/visibility.html" %}
  {% endif %}
</div>
