@extends('layouts.app') @section('title') {{__('messages.vcard.edit_vcard')}} @endsection @section('content')

{{__('messages.vcard.edit_vcard')}}

{{ __('messages.common.back') }}
@if(Session::has('success'))

{{ getSuccessMessage(Request::query('part')).Session::get('success') }}

@endif @if(Session::has('error'))

{{ getSuccessMessage(Request::query('part')).Session::get('error') }}

@endif @include('layouts.errors') @include('flash::message')
@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')
@endif
@endsection