Fix Qute template escaping for hx-vals
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
{#if artist.alreadyTracked}
|
||||
<button class="btn btn-warning btn-sm"
|
||||
hx-delete="/api/artists/{artist.mbid}/from-search"
|
||||
hx-vals='js:{q: document.getElementById("search-input").value}'
|
||||
hx-vals='js:{{q: document.getElementById("search-input").value}}'
|
||||
hx-target="#search-results"
|
||||
hx-swap="innerHTML">✓ Added</button>
|
||||
{#else}
|
||||
|
||||
Reference in New Issue
Block a user