@extends('layouts.sidebar') @section('title', 'Nomadic-CMS') @section('content')

{{$page}} Page

@php $bySection = $files->keyBy('section'); $s1 = $bySection->get('Section One'); $s2 = $bySection->get('Section Two'); $s3 = $bySection->get('Section Three'); $s4 = $bySection->get('Section Four'); $s5 = $bySection->get('Section Five'); $s6 = $bySection->get('Section Six'); $s7 = $bySection->get('Section Seven'); $s8 = $bySection->get('Section Eight'); $s9 = $bySection->get('Section Nine'); $s10 = $bySection->get('Section Ten'); $faq = $files->filter(function ($f) { return in_array($f->section, [ 'Section Eleven', 'Section Twelve', 'Section Thirteen', 'Section Fourteen', 'Section Fifteen', 'Section Sixteen', 'Section Seventeen', 'Section Eighteen', ], true); })->values(); @endphp
@if(session('success'))
{{session('success')}}
@endif @if($s1)
@csrf
image_path) style="display:none;" @endif />
@endif @if($s2)
@csrf
image_path) style="display:none;" @endif />
@endif @if($s3)
@endif @if($s4)
@endif @if($s5)
@csrf
image_path) style="display:none;" @endif />
@endif @if($s6)
@csrf
image_path) style="display:none;" @endif />
@endif @if($s7)
@endif @if($s8)
@csrf
image_path) style="display:none;" @endif />
@csrf
subheading) style="display:none;" @endif />
@csrf
subheading2) style="display:none;" @endif />
@csrf
subheading3) style="display:none;" @endif />
@endif @if($s9)
@endif @if($s10)
@endif @if($faq->count() > 0)
@foreach($faq as $f)
@endforeach
@endif
@endsection @section('footer_scripts') @endsection