From adf293bd153849d194390c630c9edf16a356b252 Mon Sep 17 00:00:00 2001 From: Subash Date: Wed, 20 Aug 2025 16:41:52 +0545 Subject: [PATCH] chnages --- .../components/custom-form-field.blade.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Modules/CCMS/resources/views/components/custom-form-field.blade.php b/Modules/CCMS/resources/views/components/custom-form-field.blade.php index 011abf6..903ca54 100644 --- a/Modules/CCMS/resources/views/components/custom-form-field.blade.php +++ b/Modules/CCMS/resources/views/components/custom-form-field.blade.php @@ -13,29 +13,29 @@
@for ($i = 0; $i < $loopCount; $i++)
-
- @if ($i == 0) - {{ html()->label('Icon')->class('form-label')->for('icon[]') }} +
+ @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('Icon class') }}
-
- @if ($i == 0) - {{ html()->label('Title')->class('form-label')->for('key[]') }} +
+ @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 Title') }}
-
- @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) + @if ($i == 0) @endif