@php $edit = !empty($gallery->id); @endphp @extends('layouts.admin.master') @section('title') {{ $edit ? ($editTitle ?? 'Edit Gallery') : ($title ?? 'Add Gallery') }} @endsection @section('content')

{{ $edit ? ($editTitle ?? 'Edit Gallery') : ($title ?? 'Add Gallery') }}

Back
@if($edit && $gallery->is_approved)
This content has been approved and cannot be edited.
@else
Your content will be submitted for admin approval before being published.
@endif
@csrf @if ($edit) @method('PUT') @endif
{{-- Resource Type Selection --}}
@if($edit) @endif
{{-- Display Order --}}
Lower numbers appear first
{{-- Active Status --}}
Inactive items won't be shown even if approved
{{-- Title --}}
{{-- File Upload (For Images Only) --}} {{-- YouTube Link (For Videos Only) --}} {{-- Redirect URL --}}
When users click on this gallery item, they will be redirected to this URL
{{-- Description --}}
@endsection @push('js') @endpush