chnages
This commit is contained in:
@@ -13,29 +13,29 @@
|
||||
<div class="col-lg-12 clone-container">
|
||||
@for ($i = 0; $i < $loopCount; $i++)
|
||||
<div class="row clone-section mt-2">
|
||||
<div class="col-lg-2">
|
||||
@if ($i == 0)
|
||||
{{ html()->label('Icon')->class('form-label')->for('icon[]') }}
|
||||
<div class="col-lg-8">
|
||||
@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') }}
|
||||
</div>
|
||||
|
||||
<div class="col-lg-4">
|
||||
@if ($i == 0)
|
||||
{{ html()->label('Title')->class('form-label')->for('key[]') }}
|
||||
<div class="col-lg-8">
|
||||
@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') }}
|
||||
</div>
|
||||
|
||||
<div class="col-lg-4">
|
||||
@if ($i == 0)
|
||||
<div class="col-lg-2">
|
||||
@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) }}
|
||||
</div>
|
||||
|
||||
<div class="col-lg-2">
|
||||
@if ($i == 0)
|
||||
@if ($i == 0)
|
||||
<label class="form-label">Action</label>
|
||||
@endif
|
||||
<div class="d-flex gap-2">
|
||||
|
Reference in New Issue
Block a user