@include('vcards.sub_menu')
@if($partName !== 'services'&& $partName !=='products'&& $partName !=='testimonials' && $partName !=='galleries' && $partName !=='blogs' && $partName !=='instagram-embed' && $partName !=='banners' && $partName != 'iframes')
@endif
{{ Form::hidden('is_true', Request::query('part') == 'business_hours',['id' => 'vcardCreateEditIsTrue']) }}
@if($partName != 'services' && $partName != 'blogs' && $partName != 'testimonials' && $partName != 'products' && $partName != 'galleries' && $partName !='instagram-embed' && $partName != 'banners' && $partName != 'iframes')
{!! Form::open(['route' => ['vcards.update', $vcard->id], 'id' => 'editForm', 'method' => 'put', 'files' => 'true']) !!}
@include('vcards.fields')
{{ Form::close() }}
@else
@if($partName === 'blogs')
@include('vcards.blogs.index')
@elseif($partName === 'services')
@include('vcards.services.index')
@elseif($partName === 'products')
@include('vcards.products.index')
@elseif($partName === 'banners')
@include('vcards.banner.index')
@elseif($partName === 'galleries')
@include('vcards.gallery.index')
@elseif($partName === 'instagram-embed')
@include('vcards.instagram-embed.index')
@elseif($partName === 'iframes')
@include('vcards.iframes.index')
@else
@include('vcards.testimonials.index')
@endif
@endif
@if($partName !== 'services'&& $partName !=='products'&& $partName !=='testimonials' && $partName !=='galleries' && $partName !=='blogs' && $partName !=='iframes')