@php $without_label = false; if (Ui::keyset($attributes, 'without_label') != null) { $without_label = $attributes['without_label']; } if (Ui::keyset($attributes, 'layout') == null || (Ui::keyset($attributes, 'layout') != null && $attributes['layout'] == 'h')) { $horizental = true; $row = ' row'; $labelClass = 'col-2 col-form-label'; } else { $horizental = false; $row = ''; $labelClass = 'col-form-label'; } $list = []; if (isset($value) && $value != '') { $values_arr = explode(',', $value); $values_arr_size = sizeof($values_arr); } $sections = \App\Models\Section::all(); if (isset($attributes['required']) && $attributes['required'] === true) { $labelClass .= ' required'; } @endphp
@if (!$without_label) {{ Form::label($name, Ui::prettify(__('ui.' . Str::replaceLast('[]', '', $name))), ['class' => $labelClass]) }} @endif @if ($horizental)
@endif

Please select sections would you want to display

    @if (isset($value) && $value) @foreach ($value as $svalue)
  • {{ $svalue->section->title }}
  • @endforeach @endif
Insert From Exist Sections
OR
@if ($horizental)
@endif