From 025acb884378a77453f4af97357a4f3de75561f0 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Mon, 9 Mar 2026 20:11:31 -0400 Subject: [PATCH] fix: Correct Alpine.js directive syntax in 4 template files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed templ parsing errors caused by escaped quotes in Alpine.js @click directives. The previous migration to @click used backslash-escaped quotes (\") which templ cannot parse correctly. Files affected: - templates/api_explorer.templ:28 - Fixed missing - @click="copyToClipboard(JSON.stringify({ explorer.Endpoint.Response }, null, 2))" class="px-4 py-2 border border-border rounded bg-background-primary text-text-primary hover:bg-background-secondary cursor-pointer text-sm">Copy Response + + } else { diff --git a/templates/collection_modal.templ b/templates/collection_modal.templ index 9cac027..809a311 100644 --- a/templates/collection_modal.templ +++ b/templates/collection_modal.templ @@ -66,11 +66,11 @@ templ CollectionModal(collection CollectionData) {
- - - - - + + + + +
@@ -132,11 +132,11 @@ templ CollectionModal(collection CollectionData) {
- - - - - + + + + +
diff --git a/templates/collections.templ b/templates/collections.templ index acb8c45..559a5c1 100644 --- a/templates/collections.templ +++ b/templates/collections.templ @@ -213,7 +213,7 @@ templ CollectionDetail(user User, collection CollectionData, books []handlers.Bo
- +
Created: { conflict.CreatedAt.Format("2006-01-02 15:04:05") }