{{ $intro }}

Save Changes
@if (session('status'))
{{ session('status') }}
@endif
@include('admin.settings.partials.nav', ['activeTab' => $activeTab])
@csrf @if ($errors->any())

Please fix the highlighted settings.

    @foreach ($errors->all() as $message)
  • {{ $message }}
  • @endforeach
@endif @foreach ($sections as $section)
@foreach ($section['fields'] as $field) @php $type = $field['type'] ?? 'text'; $name = $field['name'] ?? null; $span = $field['span'] ?? false; $class = $span ? 'md:col-span-2' : ''; @endphp @if ($type === 'toggle')

{{ $field['label'] }}

@if (! empty($field['help']))

{{ $field['help'] }}

@endif
@elseif ($type === 'textarea')
@elseif ($type === 'select')
@elseif (($field['secret'] ?? false) === true)
@elseif ($type === 'upload')

{{ old($name, $field['value'] ?? 'Upload file') }}

{{ $field['help'] ?? 'PNG, JPG, or SVG supported. Upload storage will be connected in the media phase.' }}

@elseif ($type === 'color')
{{ old($name, $field['value']) }}
@if (! empty($field['help']))

{{ $field['help'] }}

@endif @error($name)

{{ $message }}

@enderror
@elseif ($type === 'notice')

{{ $field['label'] }}

{{ $field['help'] }}

@elseif ($type === 'action')

{{ $field['label'] }}

{{ $field['help'] }}

{{ $field['button'] ?? $field['label'] }}
@else
@endif @endforeach
@endforeach
Cancel Save Changes