diff --git a/templates/api_explorer.templ b/templates/api_explorer.templ index 8468bd2..bc65f2a 100644 --- a/templates/api_explorer.templ +++ b/templates/api_explorer.templ @@ -25,8 +25,8 @@ templ APIExplorer(explorer APIExplorerData) {
{ explorer.Endpoint.Response }
- @click="copyToClipboard(JSON.stringify({ explorer.Endpoint.RequestBody }, 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 Request - @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") }