@foreach ($main_elements as $element) @if(isset($element->search) && $element->search) @if(is_int($element->search)) @else @endif @else @endif @endforeach @foreach ($posts as $post) @foreach ($main_elements as $element_new) @if(isset($element_new->modal)) @php $el = $element_new->value; @endphp @if($this->$el($post)) @endif @elseif(isset($element_new->include)) @else @endif @endforeach {{-- --}} {{-- --}} {{-- --}} @endforeach
{{$element->label}}
@foreach ($this->$el($post) as $el) {!!$el!!}, @endforeach @livewire('dashboard.admin.partials.action-btns', ['route_edit' => $route_edit, 'route_view' => $route_view, 'post' => $post]) {!!$post->{$element_new->value}!!} User Avatar

Nansi Hart

Web Designer

n.hart@example.com
Agency