@if ($advertiseAttributes->isNotEmpty())
@forelse ($advertiseAttributes as $attribute) @if ($attribute->type == 'number')
@endif @if ($attribute->type == 'text')
@endif @if ($attribute->type == 'select')
@endif @empty @endforelse
@endif
{{ __('Is the listed item is second hand') }}
{{ __('Do you want to we show the exact location?') }}
{{ __('Do you want to shear your number?') }}
{{ __('Do you want to active the chat for this advertisement?') }}
{{ __('Do you want to active the comment for this advertisement?') }}
{{ __('You can upload multiple files at the same time.') }} @error('files') {{ $message }} @enderror @error('files.*') {{ $message }} @enderror
@php $acceptable_files = [ 'images' => ['png', 'gif', 'bmp', 'svg', 'jpg', 'jpeg', 'webp'], 'videos' => ['mp4', 'mov', 'avi', 'wmv', 'mkv'], 'audio' => ['wav', 'mp3', 'm4a', 'mpga', 'wma'] ]; @endphp @foreach ($files as $file )
@if (array_search($file->extension() , $acceptable_files['images']) != false) @endif @if (array_search($file->extension() , $acceptable_files['videos']) != false) @endif @if (array_search($file->extension() , $acceptable_files['audio']) != false) @endif
@endforeach
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif