@if($content->type === 'text') @if($content->content != '' && replace_paramster($content->content) !== '...')

{{ replace_paramster($content->content) }}

@endif @endif @if($content->type === 'date') @if($content->content != '' && replace_paramster($content->content) !== '...')

{{ replace_paramster($content->content) }}

@endif @endif @if($content->type === 'image') @endif @if(in_array($content->type, ['longtext', 'bullet', 'fixed_text'])) @if($content->content != '' && replace_paramster($content->content) !== '...')

{{ replace_paramster($content->content) }}

@endif @endif @if($content->type === 'options') @php($options = explode(';', $content->options)) @php($options = array_combine($options, $options)) @if($content->content != '' && replace_paramster($content->content) !== '...')

{{ replace_paramster($content->content) }}

@endif @endif @if($content->type === 'checklist') @php($list = explode(';', $content->options)) @foreach($list as $item) @endforeach @endif @if($content->type === 'radio') @php($list = explode(';', $content->options)) @foreach($list as $item) @endforeach @endif @if($content->type == 'table') @php($value_data = json_decode($content->value ?? '[]', true)) @php($content_data = json_decode($content->options, true)) @if($value_data == []) @php($value_data = $content_data) @endif @php($keys = ($value_data == null) ? [] : array_values(array_keys($value_data))) @foreach($keys as $key) @endforeach @php($key_values = []) @if($value_data !== null) @php($count = head($value_data) == false ? 0 : count(head($value_data))) @for($i = 0; $i < $count; $i++) @foreach($keys as $key) @endforeach @endfor @endif
{{ $key }}
@endif