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

{{ $head ?? ''}}

@if($article ?? '' && $article->id) @method('PUT') @endif @csrf {{--
--}} {{-- --}} {{-- --}} {{--
--}} @foreach($languages as $language)
@endforeach {{--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--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{-- Add New Item--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--End image container--}}
@endsection @section('inner_js') {{-- --}} @endsection