This commit is contained in:
2025-08-27 12:05:11 +05:45
parent 032e8405ca
commit 3f503c2d38

View File

@@ -28,19 +28,19 @@
<div class="mb-3">
{{ html()->label('Description')->for('slug') }}
{{ 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>
{{-- <div class="d-flex flex-wrap mt-1" id="video-preview"> --}}
</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>
<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>
<x-form-buttons :href="route('gallery.index')" :label="isset($gallery) ? 'Update' : 'Create'" />
</div>
</div>
{{ html()->form()->close() }}