@extends('adminlte::page') @section('title', 'Golf') @section('content_header') @stop @section('content') Golf Home Golf & Sports Golf Add/Edit Golf @csrf Golf Main Description * @if(!empty($golf_arr)){!! $golf_arr['description'] !!} @endif Golf Sections * @if(!empty($golf_arr)) @foreach($golf_arr['golf_sections'] as $section) Section Title * Section Description * {!! $section['section_description'] !!} Section Image (optional) {{-- Hidden: existing image name (passed when no new file chosen) --}} {{-- Hidden: delete flag (1 = delete image, set by JS) --}} {{-- File input for new upload --}} {{-- Existing image preview --}} @if(!empty($section['section_image'])) Current Image: Delete Image @else @endif {{-- New image preview --}} Has Multiple Tab(optional) No Yes Delete Section @endforeach @endif + Add Section @stop @section('js') @include('admin.summernote-editor') @include('admin.golf.scripts.index') @stop
Current Image: