From 2453e552fbe7c568d6bb93ffbd22e394164cd2ba Mon Sep 17 00:00:00 2001 From: Adriano Date: Sat, 7 Feb 2026 20:13:22 +0100 Subject: [PATCH] fix: Alpine.js x-data broken by inner double quotes + API list response crash - Extract JSON data to - {% block extra_js %}{% endblock %} + + + diff --git a/client/templates/maker/recipe_list.html b/client/templates/maker/recipe_list.html index 73b8ddb..e972e48 100644 --- a/client/templates/maker/recipe_list.html +++ b/client/templates/maker/recipe_list.html @@ -2,9 +2,10 @@ {% block title %}{{ _('Gestione Ricette') }} — TieMeasureFlow{% endblock %} {% block content %} +
window.__selectRecipeData = {{ recipes|tojson }};