@extends('admin.layouts.main-layout') @section('title', $title) @section('content')
$page_enc_id, "section" => $section->encrypted_id]) : route('add.page.section', $page_enc_id) }}" method="POST" enctype="multipart/form-data"> @csrf
Add Page Section
@if (session('success')) @elseif (session('error')) @endif
@if(session()->get('role') == 'superadmin')
@endif
@if(session()->get('role') == 'superadmin')
@endif
@if(!empty($section->encrypted_id) && !empty($section->section_image))
Section_Image
@endif
@if(!empty($section->encrypted_id) && !empty($section->more_images))
@php $more_images = json_decode($section->more_images); @endphp @if (!empty($section->more_images)) @foreach($more_images as $image) More_Images @endforeach @endif
@endif
@if(!empty($section->encrypted_id) && !empty($section->section_video))
@endif
@if(!empty($section->encrypted_id))
Sub-Section Management {{-- @if(session()->get('role') == 'superadmin') --}} $page_enc_id, "section" => $section->encrypted_id]) }}" class="btn rounded-pill btn-icon btn-outline-primary float-end" style="font-size: 1.7em;">+ {{-- @endif --}} $page_enc_id, "section" => $section->encrypted_id]) }}" class="btn btn-primary float-end me-2">Sections Sequence
@if(session()->get('role') == 'superadmin') @endif @foreach($subSectionsData as $subSections) @if(session()->get('role') == 'superadmin') @endif @endforeach
S. No. Sub-Section Title Sub-Section HeadlineSub-Section PositionSub-Section Image Status Actions
1 {{ $subSections->section_title }} {{ $subSections->section_headline }}{{ $subSections->position_order }} @if(!empty($subSections->section_image))
  • Sub_Section_Image
@endif
@endif
@endsection @section('admin-custom-js') @endsection