@extends('backend.layouts.master') @section('content')
Edit CMS Page
@csrf @method('PATCH')
@include('backend.common-views.messages')
@error('page_name') {{$message}} @enderror
@if(!in_array($cmsPage->page_slug, ['home', 'disclosure', 'recent-recommendation', 'allocation-recommendation', 'alternative-investment-fund']))
@error('banner_header') {{$message}} @enderror
@endif @if($cmsPage->page_slug === 'services')
@error('service_second_block_title') {{$message}} @enderror
@error('service_block_second') {{$message}} @enderror
@error('service_third_block_title') {{$message}} @enderror
@error('service_block_third_home') {{$message}} @enderror
@error('service_block_third') {{$message}} @enderror
@error('service_fourth_block_title') {{$message}} @enderror
@error('service_block_fourth') {{$message}} @enderror
@endif @if(in_array($cmsPage->page_slug, ['disclosure']))
@error('middle_block_title') {{$message}} @enderror
@endif @if(in_array($cmsPage->page_slug, ['disclosure', 'home']))
@error('middle_block') {{$message}} @enderror
@endif @if(in_array($cmsPage->page_slug, ['disclosure', 'grievanceRedressal']))
@error('disclosure_block_title') {{$message}} @enderror
@error('disclosure_block') {{$message}} @enderror
@endif @if($cmsPage->page_slug === 'home')
@error('left_block_title') {{$message}} @enderror
@endif @if(in_array($cmsPage->page_slug, ['home' , 'about-us']))
@if($cmsPage->page_slug === 'home') @error('left_block') {{$message}} @enderror @elseif ($cmsPage->page_slug === 'about-us')
@else @endif
@if($cmsPage->page_slug === 'about-us')
@error('right_block_title') {{$message}} @enderror
@error('right_block') {{$message}} @enderror
@endif
@endif @if(in_array($cmsPage->page_slug,['recent-recommendation', 'allocation-recommendation']))
@error('top_block') {{$message}} @enderror
@endif @if($cmsPage->page_slug === 'alternative-investment-fund')
@error('top_block') {{$message}} @enderror
@error('middle_block_title') {{$message}} @enderror
@foreach ($middleBlock as $data)
@endforeach
@error('get_started_button_link') {{$message}} @enderror
@error('booklet_button_link') {{$message}} @enderror
@error('sambhav_button_link') {{$message}} @enderror
@endif
@endsection @push('js') @endpush