@extends('layouts.dashboard.template') @section('content')

Edit Foto Galeri

Edit Foto Galeri
{{-- Error Summary --}} @if ($errors->any()) @endif
@csrf @method('PUT') {{-- Judul (nullable) --}}
@error('judul')
{{ $message }}
@enderror
{{-- Kategori Galeri --}}
Foto dengan kategori Humas akan otomatis tampil pada halaman Home Humas.
@error('kategori')
{{ $message }}
@enderror
{{-- Deskripsi (nullable) --}}
@error('deskripsi')
{{ $message }}
@enderror
{{-- Foto saat ini --}} @if ($gallery->url)
{{ $gallery->judul ?? 'Foto' }}
@endif {{-- Ganti Foto (nullable) --}}
Kosongkan jika tidak ingin mengganti foto. Format: JPG, JPEG, PNG, WebP. Maks: 20 MB.
@error('foto')
{{ $message }}
@enderror {{-- Preview foto baru --}}

Preview foto baru:

Preview
{{-- Tombol --}}
Batal
@endsection @push('scripts') @endpush