@extends('admin.layouts.admin') @section('content')
{{ isset($section) ? 'Edit Section' : 'Create Section' }}

{{ trans('Section List') }}
@csrf @if (isset($section)) @method('PUT') @endif @php $settings = isset($section) ? json_decode($section->settings ?? '{}') : null; @endphp
@if (isset($section) && $section->image) @endif
status ?? false) ? 'checked' : '' }}>
is_header ?? false) ? 'checked' : '' }}>
is_footer ?? false) ? 'checked' : '' }}>
is_lead_news ?? false) ? 'checked' : '' }}>
is_main_news ?? false) ? 'checked' : '' }}>
{{-- Widgets --}}
widgets ?? false) ? 'checked' : '' }}>
{{-- Category --}}
category ?? false) ? 'checked' : '' }}>
@endsection @section('js') @endsection