@extends('layouts.app') @section('content')

{{__('texte.objects_arr.create.add_object')}}

{{ csrf_field() }}
@if ($errors->has('client_id')) {{ $errors->first('client_id') }} @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('create_login')) {{ $errors->first('create_login') }} @endif
@if ($errors->has('pic')) {{ $errors->first('pic') }} @endif
@if ($errors->has('type')) {{ $errors->first('type') }} @endif
@if ($errors->has('subtype')) {{ $errors->first('subtype') }} @endif
@if ($errors->has('country')) {{ $errors->first('country') }} @endif
@if ($errors->has('area')) {{ $errors->first('area') }} @endif
@if ($errors->has('location_type')) {{ $errors->first('location_type') }} @endif
@if ($errors->has('location')) {{ $errors->first('location') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if ($errors->has('mobile')) {{ $errors->first('mobile') }} @endif
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
@if ($errors->has('note')) {{ $errors->first('note') }} @endif
@foreach ($filters as $filter) @if ($filter->type == 3 && $filter->options->isNotEmpty())
@endif @if ($filter->type == 2 && $filter->options->isNotEmpty())
@foreach ($filter->options as $option) @if ($option->active) @endif @endforeach
@endif @if ($filter->type == 1 && $filter->options->isNotEmpty())
@foreach ($filter->options as $option) @if ($option->active) @endif @endforeach
@endif @if ($filter->type == 0)
@endif @endforeach
here goes the image
@if ($errors->has('images.*')) {{ $errors->first('images.*') }} @endif
@endsection