@extends('Common::admin.layout.page') @section('page')

{{ __($title) }}

{{ __("Add new") }}
@foreach($list as $key =>$col_title) @endforeach @if(isset($links)) @foreach($links as $link) @endforeach @endif @if($able_edit) @endif @if($able_remove) @endif @foreach($rows as $row) @foreach($list as $key => $col_title) @php $value = $key != 'created_at' && is_object($row->$key) ? $row->$key->ar : $row->$key; @endphp @if(in_array($key , ['image' , 'path'])) @else @endif @endforeach @if(isset($links)) @foreach($links as $link) @endforeach @endif @if($able_edit) @endif @if($able_remove) @endif @endforeach
#{{ app()->getLocale() == 'ar' ? $col_title : ucfirst($key) }}{{ __($link['title']) }}{{ __("Edit") }}{{ __("Delete") }}
{{ $loop->iteration }}{{ $value }} id) }}">
id) }}" method="post" class="action_form remove"> @csrf {{ method_field('delete') }}
{{ $rows->links() }}
@stop