@php use Illuminate\Support\Str; @endphp @extends('layouts.master') @section('title') Edit {{ $title }} @endsection @section('css') @endsection @section('body') @endsection @section('content') @component('components.breadcrumb') @slot('page_title') Edit {{ $title }} @endslot @slot('subtitle') {{ Str::ucfirst(Str::plural($title)) }} @endslot @endcomponent

Edit {{ Str::ucfirst($title) }}

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT')
@error('en_title')
{{ $message }}
@enderror
@error('en_sub_title')
{{ $message }}
@enderror
@error('ar_title')
{{ $message }}
@enderror
@error('ar_sub_title')
{{ $message }}
@enderror
( Upload an image (JPEG, PNG, JPG), image size 1920×1080 pixels, and less than 1MB. ) @error('image')
{{ $message }}
@enderror @if (!empty($record->image))
Current Image
@endif
@endsection @section('scripts') @endsection