{{-- Basic table view --}} @extends('layouts.app') @php /** @var \App\Models\Table $table */ @endphp @section('content')

{{ $table->owner->handle }}{{-- --}}/{{-- --}}{{ $table->name }} {{ $table->title }}

@if($table->description) Description {!! Widget::collapsible($table->description, 400, '8em') !!} @endif @if($table->origin)

Source
{!! Widget::tryLink($table->origin) !!}

@endif
Author {{ $table->owner->title }} ({{ $table->owner->handle }})
License {{ $table->license ?: 'CC0' }}
Created {{ $table->created_at->format("M j, Y") }}
Updated {{ $table->updated_at->format("M j, Y") }}
Revisions {{ $table->revisions()->count() }}
Right Column with buttons etc, maybe
@foreach($columns as $col) @endforeach @foreach($rows as $row) @php($rdata = json_decode($row['data'], true)) @foreach($columns as $col) @endforeach @endforeach
{{ $col->title }}
{{ $rdata[$col->name] }}
@endsection