We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
td
value
empty
1 parent 4fca689 commit 5da291eCopy full SHA for 5da291e
src/resources/views/crud/inc/show_table.blade.php
@@ -3,10 +3,12 @@
3
<tbody>
4
@foreach($columns as $column)
5
<tr>
6
- <td @if($loop->index === 0) class="border-top-0" @endif>
7
- <strong>{!! $column['label'] !!}:</strong>
8
- </td>
9
+ @if(!empty($column['label']))
+ <td @if($loop->index === 0) class="border-top-0" @endif>
+ <strong>{!! $column['label'] !!}:</strong>
+ </td>
10
+ @endif
11
+ <td colspan="{{ !empty($column['label']) ? 1 : 2 }}" @if($loop->index === 0) class="border-top-0" @endif>
12
@php
13
// create a list of paths to column blade views
14
// including the configured view_namespaces
@@ -36,4 +38,4 @@
36
38
@endif
37
39
</tbody>
40
</table>
-@endif
41
+@endif
0 commit comments