From fd4173bc2e24e19f618240fe775796451925f51b Mon Sep 17 00:00:00 2001 From: Faruk Nasir Date: Tue, 3 May 2022 10:00:08 +0100 Subject: [PATCH] chore: showing column labels --- resources/views/tile.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/tile.blade.php b/resources/views/tile.blade.php index 833d7e3..5b1ebe6 100644 --- a/resources/views/tile.blade.php +++ b/resources/views/tile.blade.php @@ -92,10 +92,10 @@ {{ $row[collect($table->columns)->keys()->first()] }} -
+
@foreach($table->columns as $columnKey => $columnValue) @if (!$loop->last && !$loop->first) -
+
{{ $columnValue['label'] }}
{{ $row[$columnKey] }}