{{ __('adminhub::components.collection-search.btn') }}
@if ($this->searchTerm) @if ($this->results->total() > $maxResults) {{ __('adminhub::components.collection-search.max_results_exceeded', [ 'max' => $maxResults, 'total' => $this->results->total(), ]) }} @endif
@forelse($this->results as $collection)
$this->existingIds->contains($collection->id), ])>
{{ $collection->group->name }} {{ $collection->translateAttribute('name') }} {{ $collection->deleted_at }}

{{ collect($collection['breadcrumb'])->implode(' > ') }}

@if (!$this->existingIds->contains($collection->id)) @if (collect($this->selected)->contains($collection->id)) @else @endif @else {{ __('adminhub::components.collection-search.exists_in_collection') }} @endif
@empty {{ __('adminhub::components.collection-search.no_results') }} @endforelse
@else
{{ __('adminhub::components.collection-search.pre_search_message') }}
@endif
@forelse($this->selectedModels as $collection)
{{ $collection->group->name }} {{ $collection->translateAttribute('name') }}

{{ collect($collection['breadcrumb'])->implode(' > ') }}

@empty
{{ __('adminhub::components.collection-search.select_empty') }}
@endforelse
{{ __('adminhub::components.collection-search.commit_btn') }}