@if(! empty($draft)) @foreach($draft as $val) @php $segment = request()->segment(2); // or adjust based on your route @endphp @endforeach @endif
Title Display Location Display Order Entity Type Entity Code Action
{{ $val->name }} {{ $val->display_location }} {{ $val->display_importance }} {{ $val->entity_type }} {{ $val->entity_code }}