From 3cd47817247a13dd80904aa49becfe800a08a0db Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Sat, 24 Jan 2026 21:48:46 +0100 Subject: [PATCH] fix: replace problematic code copy buttons with static pre blocks Multi-line template literals in HTML attributes cause Alpine.js parsing errors. Replaced @click="copyCode(...)" with static
 blocks.
Also simplified the x-text expression to use template literals.

Co-Authored-By: Claude Opus 4.5 
---
 app/templates/admin/components.html | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/app/templates/admin/components.html b/app/templates/admin/components.html
index eb38dd50..c3b31701 100644
--- a/app/templates/admin/components.html
+++ b/app/templates/admin/components.html
@@ -2612,7 +2612,7 @@ goToPage(n) { if (n !== '...' && n >= 1 && n <= this.totalPages) { this.paginati
                                         
                                         

Remove Platform

-

+

@@ -2627,7 +2627,7 @@ goToPage(n) { if (n !== '...' && n >= 1 && n <= this.totalPages) { this.paginati

Static Message (confirm_modal):

- +) }}{% endraw %}

Dynamic Message (confirm_modal_dynamic):

- +) }}{% endraw %}