! ($compact ?? false)])>
@foreach ($group['fields'] as $key => $field)
@php($path = str_replace('.', '][', $key))
@php($name = "settings[{$path}]")
@php($id = 'setting_'.str_replace('.', '_', $key))
@php($input = $field['input'] ?? null)
@if ($field['type'] === 'boolean')
! ($compact ?? false)])>
@elseif ($field['secret'] ?? false)
@elseif ($field['type'] === 'file')
@elseif ($input === 'select')
@elseif ($input === 'searchable-select')
@php($from = $field['options_from'] ?? null) {{-- a field in this group whose value picks the option set --}}
@elseif ($input === 'color')
$errors->has("settings.{$key}")])>
@if ($field['hint'] ?? null)
{{ $field['hint'] }}
@endif
@error("settings.{$key}")
{{ $message }}
@enderror
@else
@endif
@endforeach