@php
    use App\Models\EventoForm;
@endphp


@if(isset($tipo))
    <span class="me-1" title="{{ EventoForm::getLabel($tipo) }}">
        <i class="text-primary {{ EventoForm::getIcona($tipo) }} fs-small"></i>
    </span>
    <span class="small text-muted align-middle"> #{{ $id }}</span>
@else
    <span class="text-muted small">Tipo sconosciuto</span>
    <span class="small text-muted align-middle">ID: {{ $id ?? '-' }}</span>
@endif
