{{-- Recently Linked Records --}} @if(count($recentRecords) > 0)

Recently Linked Records

@foreach($recentRecords as $recent) @endforeach
@endif {{-- Link New Record Card --}}

Link New Record

Select a record type and then choose a specific record

{{-- Record Type Selection --}}
{{-- Hidden input for form submission --}} {{-- Combobox Button --}}
{{-- Dropdown with Search --}}
{{-- Record Selection (only show if record type is selected) --}} @if($record_type && count($filteredRecords) > 0)
{{-- Hidden input for form submission --}} {{-- Combobox Button --}}
{{-- Dropdown with Search --}}
@elseif($record_type && count($filteredRecords) === 0)

No records available for this record type.

@endif {{-- Record Preview (show when record is selected) --}} @if($selectedRecord)
Selected Record Preview
{{ $selectedRecord->title ?? 'N/A' }}
@if(isset($selectedRecord->description))
{{ Str::limit($selectedRecord->description, 100) }}
@endif
@endif