fix
This commit is contained in:
@@ -28,19 +28,19 @@
|
|||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
{{ html()->label('Description')->for('slug') }}
|
{{ html()->label('Description')->for('slug') }}
|
||||||
{{ html()->text('link')->value($gallery->link ?? old('link'))->class('form-control')->placeholder('Enter Video Description') }}
|
{{ html()->text('link')->value($gallery->link ?? old('link'))->class('form-control')->placeholder('Enter Video Description') }}
|
||||||
<div class="d-flex flex-wrap mt-1" id="video-preview">
|
{{-- <div class="d-flex flex-wrap mt-1" id="video-preview"> --}}
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mb-3">
|
|
||||||
{{ html()->label('Category')->class('form-label')->for('category_id') }}
|
|
||||||
{{ html()->select('category_id', $categoryOptions)->value($gallery->category_id ?? old('category_id'))->class('form-select choices-select')->placeholder('Select') }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<x-form-buttons :href="route('gallery.index')" :label="isset($gallery) ? 'Update' : 'Create'" />
|
<div class="mb-3">
|
||||||
|
{{ html()->label('Category')->class('form-label')->for('category_id') }}
|
||||||
|
{{ html()->select('category_id', $categoryOptions)->value($gallery->category_id ?? old('category_id'))->class('form-select choices-select')->placeholder('Select') }}
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<x-form-buttons :href="route('gallery.index')" :label="isset($gallery) ? 'Update' : 'Create'" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ html()->form()->close() }}
|
{{ html()->form()->close() }}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user