Skip to content

Commit c2c4847

Browse files
authored
Merge pull request #5486 from Laravel-Backpack/pr/5351
Pr/5351 - dont show dots in show view when label is empty
2 parents 87be452 + 2b18fd1 commit c2c4847

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/resources/views/crud/inc/show_table.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@foreach($columns as $column)
55
<tr>
66
<td @if($loop->index === 0) class="border-top-0" @endif>
7-
<strong>{!! $column['label'] !!}:</strong>
7+
<strong>{!! $column['label'] !!}@if(!empty($column['label'])):@endif</strong>
88
</td>
99
<td @if($loop->index === 0) class="border-top-0" @endif>
1010
@php
@@ -36,4 +36,4 @@
3636
@endif
3737
</tbody>
3838
</table>
39-
@endif
39+
@endif

0 commit comments

Comments
 (0)