@extends('landlord.layout.main') @section('content') @if(session()->has('message'))
{{ session()->get('message') }}
@endif @if(session()->has('not_permitted'))
{{ session()->get('not_permitted') }}
@endif @if($errors->has('image'))
{{ $errors->first('image') }}
@endif
{!! Form::open(['route' => 'heroSection.store', 'files' => true, 'method' => 'post']) !!}

{{trans('file.Hero Section')}}

@foreach($language_all as $language)
@endforeach

@if(!empty(optional($heroes->first())->image)) {{-- Optional: Show existing image --}}
@endif
{!! Form::close() !!}
@endsection @push('scripts') @endpush