@extends('layouts.modern') @section('page-title', 'Edit Section') @section('breadcrumb') @endsection @section('action-buttons') Back to Section @endsection @section('content')
@if($dataType->icon) @endif
{{ $dataType->name }}
Editing section: {{ $section->name }}
Edit Section
@csrf @method('PUT')
Basic Information
@error('name')
{{ $message }}
@enderror
Display name for this section
@error('slug')
{{ $message }}
@enderror
URL-friendly identifier (auto-generated if left empty)
@error('description')
{{ $message }}
@enderror
@error('icon')
{{ $message }}
@enderror
FontAwesome icon class (e.g., fas fa-layer-group)
Layout Configuration
@error('width_class')
{{ $message }}
@enderror
How wide this section should be in the form layout
@error('order')
{{ $message }}
@enderror
Lower numbers appear first (0 = auto-assign to end)
Behavior Configuration
collapsible) ? 'checked' : '' }}>
Allow users to collapse/expand this section
collapsed_by_default) ? 'checked' : '' }}>
Start with this section collapsed
@if($section->fields && $section->fields->count() > 0)
Section Contains Fields

This section contains {{ $section->fields->count() }} field(s). Layout changes may affect how these fields are displayed in forms.

@endif
Preview
{{ old('name', $section->name) }}

{{ old('description', $section->description) ?: 'Section description will appear here...' }}

@if($section->fields && $section->fields->count() > 0)
Contains {{ $section->fields->count() }} existing field(s) @endif
Cancel
@endsection @push('scripts') @endpush