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

{{ $head }}

@if($product ?? '' && $product->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 ?? '') == 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/', $product->image ?? '', $match) )
@endif
image ?? "")}}"/>
Choose
@if ($product ?? false) @foreach ($product['photos'] as $photo)
@endforeach @endif
{{--End image container--}}
@endsection @section('inner_js') {{-- --}} @endsection