@extends('admin.layouts.container') @section('content')

{{ $head ?? ''}}

@if($article ?? '' && $article->id) @method('PUT') @endif @csrf
@foreach($languages as $language)
@endforeach {{--Start features--}}

{{ __('articles.features') }}

@for($i = 0; $i< count($features['en'] ?? []); $i++)
@foreach($languages as $language)
@endforeach {{--Start image container--}}
Choose
{{--End image container--}}
@endfor {{-- Here append box node--}}
{{--End features--}} {{--Start Facilities--}}

{{ __('articles.facilities') }}

@for($i = 0; $i< count($facilities['en'] ?? []); $i++)
@foreach($languages as $language)
@endforeach
@endfor {{-- Here append box node--}}
{{--End Facilities--}} {{--Start Restaurants--}}

{{ __('articles.restaurants') }}

@for($i = 0; $i< count($restaurants['en'] ?? []); $i++)
@foreach($languages as $language)
@endforeach
@endfor {{-- Here append box node--}}
{{--End Restaurants--}} {{--Start Coffees--}}

{{ __('articles.coffees') }}

@for($i = 0; $i< count($coffees['en'] ?? []); $i++)
@foreach($languages as $language)
@endforeach
@endfor {{-- Here append box node--}}
{{--End Coffees--}} {{--Start Airports--}}

{{ __('articles.airports') }}

@for($i = 0; $i< count($airports['en'] ?? []); $i++)
@foreach($languages as $language)
@endforeach
@endfor {{-- Here append box node--}}
{{--End Airports--}} {{--Start video type--}}
{{-- video_type ?? '') == 1 ? 'checked' : 'checked'}} id="external" type="radio" class="custom-control-input external" name="video_type" value='1'/> --}} video_type ?? '') == 1 ? 'checked' : ''}} id="external" type="radio" class="custom-control-input external" name="video_type" value='1'/>
video_type ?? '') == 2 ? 'checked' : ''}} id="local" type="radio" class="custom-control-input local" name="video_type" value='2'/>
{{--End video type--}} {{--Start video url--}}
{{--End video url--}} {{--Start video container--}}
video ?? "")}}"/>
Choose
{{--End video container--}} {{--Start image container--}} @if (preg_match('/https:\/\/img\.youtube\.com/', $article->image ?? '', $match) )
@endif
image ?? "")}}"/>
Choose
@if ($article ?? false) @foreach ($article['photos'] as $photo)
@endforeach @endif
{{--End image container--}} @if(($galleryImages ?? null) && count($galleryImages)) @foreach($galleryImages as $galleryImage) @if(!$galleryImage) @continue @endif
{{-- --}}
@endforeach @endif
@include('admin.articles.node_boxes')
@endsection @section('inner_js') {{-- --}} @endsection