@extends('layouts.agent') @push('css') @endpush @section('content')
@php $steps = [ 1 => 'Basic Details', 2 => 'Property Details', 3 => 'Location Details', 4 => 'Photos & Videos', ]; $currentStep = request()->route()->getName(); preg_match('/step_(\d+)/', $currentStep, $matches); $activeStep = isset($matches[1]) ? (int) $matches[1] : 1; @endphp
@foreach ($steps as $step => $label)
{{ $step }} {{ $label }} @if ($step < count($steps))
@endif
@endforeach
{{ csrf_field() }}
{{ __('Property Images') }}
{{ __('Property Covered Image') }}

{{-- error message --}} @if ($errors->has('photo')) {{ $errors->first('photo') }} @endif
Minimum 4 images are mandatory
{{ __('Back') }}
@endsection @section('scripts') @endsection