@extends('layouts.app') @section('content')

Edit Hero Section

@include('alerts.errors')

Edit Hero Section

@csrf @method('PUT')
@error('subtitle')
{{ $message }}
@enderror
@error('title')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
@if($hero->background_image)
Current image
{{ $hero->background_image }}
@endif @error('background_image')
{{ $message }}
@enderror {{ $hero->background_image ? 'Upload a new image to replace the current one.' : 'Optional background image for this hero section.' }} Accepted formats: JPEG, PNG, JPG, GIF, WebP. Max size: 2MB.
@error('sort_order')
{{ $message }}
@enderror Lower numbers appear first.
is_active) ? 'checked' : '' }}>
is_current) ? 'checked' : '' }}>
Only one hero can be current at a time.
Cancel
@endsection