{{-- One input. $input / $upload are the request names; $value is a string, or a list for paragraphs and lines. --}} @php($type = $field['type']) @if ($type === 'image') @php($ref = is_string($value) ? $value : '')

JPG, PNG or WebP, up to 5 MB. Large photographs are reduced automatically.

@elseif (in_array($type, ['textarea', 'paragraphs', 'lines'], true)) @php($text = is_array($value) ? implode($type === 'lines' ? "\n" : "\n\n", $value) : (string) $value) @elseif ($type === 'select') @else @endif