From 9903579b98a62709c8fa6224eebf60557a2adac6 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Fri, 13 Feb 2026 04:07:37 +0100 Subject: [PATCH] fix: correct form ID mismatch preventing admin content saving The edit view used ``id='content-form'`` while the shared ``form.blade.php`` calls ``initSaveForm('#homepage-form')``. The jQuery selector never found the form, so clicking Save did nothing. Aligned the edit form ID to ``homepage-form``. --- resources/views/Admin/Shop/Contents/edit.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/Admin/Shop/Contents/edit.blade.php b/resources/views/Admin/Shop/Contents/edit.blade.php index 91a41320..f488af43 100644 --- a/resources/views/Admin/Shop/Contents/edit.blade.php +++ b/resources/views/Admin/Shop/Contents/edit.blade.php @@ -4,7 +4,7 @@ ]) @section('content') - {{ Form::open(['route' => 'Admin.Shop.Contents.store', 'id' => 'content-form', 'autocomplete' => 'off']) }} + {{ Form::open(['route' => 'Admin.Shop.Contents.store', 'id' => 'homepage-form', 'autocomplete' => 'off']) }} @include('Admin.Shop.Contents.form')