<div id="link-editor-{{ link.id }}-url"
     class="flex flex-row gap-2">
    <input name="url"
           placeholder="URL de l'enllaç"
           value="{{ link.url }}"
           class="border border-beige focus:outline-none
                  rounded grow
                  bg-brown p-1 my-1"
           hx-get="/api/tema/{{ link.tema_id }}/link/{{ link.id }}/icon"
           hx-trigger="keyup delay:500ms changed"
           hx-target="#link-icon-{{ link.id }}"
           hx-include="[name='content_type']"
           hx-swap="outerHTML"
           />
    <button title="Puja un fitxer"
            class="border border-beige rounded py-1 px-2 my-1"
            hx-get="/api/tema/{{ link.tema_id }}/editor/link/{{ link.id }}/file"
            hx-target="#link-editor-{{ link.id }}-url"
            hx-swap="outerHTML"
            >
    <i class="fa fa-upload" aria-hidden="true"></i>
    </button>
</div>
