Canvi de nom a les URLs playlist -> llista

This commit is contained in:
marc
2025-12-20 23:48:54 +01:00
parent 56ab91bd42
commit 089e61fb0b
13 changed files with 72 additions and 72 deletions

View File

@@ -1,5 +1,5 @@
<div class="flex flex-row flex-wrap justify-center"
id="playlist-name">
id="llista-name">
<h3 class="text-3xl text-center p-4">
{% if playlist.name %}
{{ playlist.name }}
@@ -10,8 +10,8 @@
{% if logged_in %}
<button title="Canvia el nom"
class="text-beige text-2xl mx-2"
hx-get="/api/playlist/{{ playlist.id }}/editor/name"
hx-target="#playlist-name"
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>