@extends('admin.layouts.app') @section('title', 'Edit ' . ucfirst(str_replace('_', ' ', $sectionKey)) . ' Section') @section('content')

Edit {{ ucfirst(str_replace('_', ' ', $sectionKey)) }} Section

@if($errors->any())
@endif
{{ ucfirst(str_replace('_', ' ', $sectionKey)) }} Content
@csrf @method('PUT')
You can use HTML tags for formatting.
@if($sectionKey === 'eu_uk_hero')
Format: {"statistics": [{"number": "500+", "label": "Students Helped"}, ...]}
@elseif($sectionKey === 'eu_uk_eligibility')
Format: {"criteria": ["Criterion 1", "Criterion 2", ...]}
@elseif($sectionKey === 'eu_uk_process')
Format: {"steps": [{"number": "1", "title": "Step Title", "description": "Step Description"}, ...]}
@elseif($sectionKey === 'eu_uk_contact_form')
Format: {"fields": [{"name": "field_name", "label": "Field Label", "type": "text", "required": true}, ...], "submit_button": "Submit Text"}
@elseif($sectionKey === 'eu_uk_contact_info')
Format: {"email": "contact@example.com", "phone": "+1234567890", "availability": "Mon-Fri 9AM-5PM"}
@else
Optional JSON data for this section.
@endif
Cancel
Section Information
Section Key:
{{ $sectionKey }}
Last Updated:
@if($section && $section->updated_at) {{ $section->updated_at->format('M d, Y H:i') }} @else Never @endif
Status:
@if($section) Active @else Not Created @endif
Tips
  • Use HTML tags for rich formatting
  • JSON data must be valid format
  • Preview changes before saving
  • Changes are applied immediately
@endsection @push('scripts') @endpush