A free open source IT asset/license management system
@props([
'help_text' => null,
'icon' => null,
])
<!-- Form Legend Component -->
<legend {{ $attributes->merge(['class' => 'callout callout-legend']) }}>
<h4 {{ $attributes->merge(['class' => '']) }}>
{{ $slot }}
</h4>
@if ($help_text)
<x-form.legend-help :icon="$icon">
{!! $help_text !!}
</x-form.legend-help>
@endif
</legend>