10 lines
413 B
PHP
10 lines
413 B
PHP
@if (! empty($buttons))
|
|
<p class="mb-buttons">
|
|
@foreach ($buttons as $button)
|
|
@if (($button['label'] ?? '') !== '')
|
|
<a class="mb-btn mb-btn--{{ ($button['style'] ?? '') === 'secondary' ? 'secondary' : 'primary' }}" href="{{ \IriksIT\Manager\Support\Blocks::safeUrl($button['url'] ?? '') }}">{{ $button['label'] }}</a>
|
|
@endif
|
|
@endforeach
|
|
</p>
|
|
@endif
|