@extends('layouts.admin') @section('title', 'Edit Foto Gallery') @section('page_title', 'Edit Foto') @section('page_subtitle', 'Ubah data foto gallery') @section('content')
Form Edit Foto
@csrf @method('PUT')
@error('title')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
@if($gallery->image)
{{ $gallery->title }}
@endif
Format: JPG, PNG, WebP. Ukuran maksimal: 5MB. Kosongkan jika tidak ingin mengubah @error('image')
{{ $message }}
@enderror
@error('category')
{{ $message }}
@enderror
@error('order')
{{ $message }}
@enderror
Batal
Preview Foto
@if($gallery->image) {{ $gallery->title }} @else

Foto tidak tersedia

@endif

Judul: {{ $gallery->title }}

Dibuat: {{ $gallery->created_at->format('d M Y') }}

Diubah: {{ $gallery->updated_at->format('d M Y') }}

@endsection