Corrige aspas do atributo x-data que quebravam o html com json_encode
This commit is contained in:
@@ -5,7 +5,7 @@ if ($hasError) {
|
|||||||
unset($_SESSION['flash_error']); // Prevent toast from showing
|
unset($_SESSION['flash_error']); // Prevent toast from showing
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="max-w-3xl mx-auto bg-white rounded-xl shadow-sm border border-gray-100 p-6" x-data="orderForm(<?= $hasError ? 'true' : 'false' ?>, <?= json_encode($errorMsg) ?>)">
|
<div class="max-w-3xl mx-auto bg-white rounded-xl shadow-sm border border-gray-100 p-6" x-data='orderForm(<?= $hasError ? 'true' : 'false' ?>, <?= json_encode($errorMsg) ?>)'>
|
||||||
|
|
||||||
<!-- Modal de Erro -->
|
<!-- Modal de Erro -->
|
||||||
<div x-show="showModal" class="fixed inset-0 z-50 overflow-y-auto" aria-labelledby="modal-title" role="dialog" aria-modal="true" x-cloak>
|
<div x-show="showModal" class="fixed inset-0 z-50 overflow-y-auto" aria-labelledby="modal-title" role="dialog" aria-modal="true" x-cloak>
|
||||||
|
|||||||
Reference in New Issue
Block a user