@extends('layouts.app') @section('title', 'Add Section') @section('content')
@if($method=='POST')

Add Section

@else

Edit Section

@endif Back
{{-- Alert Messages --}} @include('common.alert')
@if($method=='POST')
Add New Section
@else
Edit Section
@endif
@csrf @if ($method === 'PUT') @method('PUT') @endif
@error('section_name')
{{ $message }}
@enderror
@error('display_order')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror

Add Section Fields

@if(count($section->sectionFields)>0) @foreach ($section->sectionFields as $key => $field) @endforeach @else @endif
Field Type Field Label Field Required Display Order Actions
field_required ? 'checked' : '' }}>
@endsection @push('script') @endpush