@if ($checkable)
|
@endif
@foreach ($columns as $column)
@if ($column->name == 'ordering')
@if (isset($row->ordering['up']))
@else
@endif
@if (isset($row->ordering['down']))
@endif
|
@else
@php $indent = (in_array($column->name, ['name', 'title']) && preg_match('#^(-{1,}) #', $row->{$column->name}, $matches)) ? strlen($matches[1]) : 0; @endphp
@php $linkable = (isset($column->extra) && in_array('linkable', $column->extra)) ? true : false; @endphp
@php echo ($linkable) ? '' : ''; @endphp
@if (isset($column->extra) && in_array('raw', $column->extra))
{!! $row->{$column->name} !!}
@else
{{ $row->{$column->name} }}
@endif
@php echo ($linkable) ? '' : ''; @endphp
|
@endif
@endforeach
@endforeach