- @if ($i == 0)
- {{ html()->label('Icon')->class('form-label')->for('icon[]') }}
- @endif
- {{ html()->text('icon[]')->value($data[$i]['icon'] ?? old('icon[]'))->class('form-control')->placeholder('Icon class') }}
+
+ {{-- @if ($i == 0)
+ {{ html()->label('Questions')->class('form-label')->for('icon[]') }}
+ @endif --}}
+ {{ html()->text('icon[]')->value($data[$i]['icon'] ?? old('icon[]'))->class('form-control')->placeholder('Enter Question') }}
-
- @if ($i == 0)
- {{ html()->label('Title')->class('form-label')->for('key[]') }}
- @endif
- {{ html()->text('key[]')->value($data[$i]['key'] ?? old('key[]'))->class('form-control')->placeholder('Enter Title') }}
+
+ {{-- @if ($i == 0)
+ {{ html()->label('Answer')->class('form-label')->for('key[]') }}
+ @endif --}}
+ {{ html()->text('key[]')->value($data[$i]['key'] ?? old('key[]'))->class('form-control')->placeholder('Enter Answer') }}
-
- @if ($i == 0)
+ {{--
+ @if ($i == 0)
{{ html()->label('Content')->class('form-label')->for('value[]') }}
@endif
{{ html()->textarea('value[]')->value($data[$i]['value'] ?? old('value[]'))->class('form-control')->placeholder('Enter Content')->rows(1) }}
-
+
--}}
-
- @if ($i == 0)
-
- @endif
+
+
+
+
+
@endfor
diff --git a/config/sidebar.php b/config/sidebar.php
index f78fb9b..7f6bf0c 100644
--- a/config/sidebar.php
+++ b/config/sidebar.php
@@ -146,7 +146,7 @@ return [
],
[
- 'text' => 'Gallery',
+ 'text' => 'Testimonial Videos',
'icon' => ' ri-camera-line',
'module' => 'CCMS',
'submenu' => [
diff --git a/resources/views/client/raffles/layouts/app.blade.php b/resources/views/client/raffles/layouts/app.blade.php
index ca1637e..031acce 100644
--- a/resources/views/client/raffles/layouts/app.blade.php
+++ b/resources/views/client/raffles/layouts/app.blade.php
@@ -46,7 +46,6 @@
-
@stack('css')
@@ -605,6 +604,7 @@
});
+=======
+ document.addEventListener('DOMContentLoaded', function() {
+ const tabs = document.querySelectorAll('.accordion-content');
+>>>>>>> 54c1fc467930bf558438abd67adc3594eeb8d2fa
+ tabs.forEach(tab => {
+ tab.addEventListener('click', function() {
+ tabs.forEach(t => t.classList.remove('highlight-tab'));
+ this.classList.add('highlight-tab');
+ });
+ });
+ });
+
diff --git a/resources/views/client/raffles/layouts/partials/header.blade.php b/resources/views/client/raffles/layouts/partials/header.blade.php
index f926463..0d7ef73 100644
--- a/resources/views/client/raffles/layouts/partials/header.blade.php
+++ b/resources/views/client/raffles/layouts/partials/header.blade.php
@@ -8,7 +8,7 @@
@@ -49,7 +49,8 @@
alt="">