Skip to content

Commit

Permalink
Checking for block output with title and description
Browse files Browse the repository at this point in the history
  • Loading branch information
XhonorSkillline authored Dec 13, 2023
1 parent 240712d commit 2492d79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/views/layouts/block.blade.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
<fieldset class="row g-0 mb-3">
@if(!empty($title) || !empty($description))
<div class="col p-0 px-3">
<legend class="text-black px-2 mt-2">
{{ __($title ?? '') }}

@if(!empty($description))
<p class="small text-muted mt-2 mb-0">
{!! __($description ?? '') !!}
</p>
@endif
</legend>
</div>
@endif
<div class="col-12 {{!$vertical ? 'col-md-7' : ''}} shadow-sm h-100">

<div class="bg-white d-flex flex-column layout-wrapper {{ empty($commandBar) ? 'rounded' : 'rounded-top' }}">
Expand Down

0 comments on commit 2492d79

Please sign in to comment.