{{-- Gallery form partial that can be used in both create and edit views --}}
@error('title_en')
{{ $message }}
@enderror
@error('title_np')
{{ $message }}
@enderror
Add external link if any @error('links')
{{ $message }}
@enderror
A brief description of this gallery @error('short_description')
{{ $message }}
@enderror
@error('display_order')
{{ $message }}
@enderror
is_featured ?? '') ? 'checked' : '' }}>
Toggle to feature this gallery
is_published ?? 1) ? 'checked' : '' }}>
Toggle to set the visibility status
@if (isset($gallery) && $gallery->featured_image)
{{ $gallery->title_en }}
Leave empty to keep the current featured image @else This image will be used as the cover image @endif Allowed formats: JPG, PNG, GIF, WebP @error('featured_image')
{{ $message }}
@enderror
You can select multiple images {{ isset($gallery) ? 'to add to the gallery' : 'for the gallery' }} Allowed formats: JPG, PNG, GIF, WebP @error('gallery_images')
{{ $message }}
@enderror
@if (isset($gallery) && !empty($gallery->images))
@foreach ($gallery->images as $index => $image)
Gallery Image {{ $index + 1 }}
@endforeach
Check the images you want to remove
@endif
Cancel