@extends('layouts.agent') @push('css') @endpush @section('content')
@php $steps = [ 1 => 'Basic Details', 2 => 'Property Details', 3 => 'Location Details', 4 => 'Photos & Videos', ]; $activeStep = 2; @endphp
@foreach ($steps as $step => $label)
{{ $step }} {{ $label }} @if ($step < count($steps))
@endif
@endforeach
{{ csrf_field() }}
@if ($attributes) @foreach ($attributes as $key => $attribute)
{{ $attribute->name }}
@if ($attribute->options) @foreach ($attribute->options as $okey => $option)
id, old('attributes.' . $attribute->name, $data_attributes[$attribute->name] ?? [])) ? 'checked' : '' }}>
@endforeach @endif @error('attributes')
{{ $message }}
@enderror
@endforeach @endif
{{ __('Back') }}
@endsection