Skip to content

Commit

Permalink
Merge pull request #5486 from Laravel-Backpack/pr/5351
Browse files Browse the repository at this point in the history
Pr/5351 - dont show dots in show view when label is empty
  • Loading branch information
pxpm authored Apr 4, 2024
2 parents 87be452 + 2b18fd1 commit c2c4847
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resources/views/crud/inc/show_table.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@foreach($columns as $column)
<tr>
<td @if($loop->index === 0) class="border-top-0" @endif>
<strong>{!! $column['label'] !!}:</strong>
<strong>{!! $column['label'] !!}@if(!empty($column['label'])):@endif</strong>
</td>
<td @if($loop->index === 0) class="border-top-0" @endif>
@php
Expand Down Expand Up @@ -36,4 +36,4 @@
@endif
</tbody>
</table>
@endif
@endif

0 comments on commit c2c4847

Please sign in to comment.