@foreach($models as $model) setTableRowAttributes($model) as $key => $value) {{ $key }}="{{ $value }}" @endforeach @if ($this->getTableRowUrl($model)) onclick="window.location='{{ $this->getTableRowUrl($model) }}';" style="cursor:pointer" @endif > @foreach($columns as $column) @if ($column->isVisible()) setTableDataAttributes($column->getAttribute(), data_get($model, $column->getAttribute())) as $key => $value) {{ $key }}="{{ $value }}" @endforeach > @if ($column->isFormatted()) @if ($column->isRaw()) {!! $column->formatted($model, $column) !!} @else {{ $column->formatted($model, $column) }} @endif @else @if ($column->isRaw()) {!! data_get($model, $column->getAttribute()) !!} @else {{ data_get($model, $column->getAttribute()) }} @endif @endif @endif @endforeach @endforeach