@if($this->tags->isNotEmpty())
@foreach($this->tags as $tag)
@endforeach
@endif
{{-- New tag input — typing a name + pressing Enter creates
the tag in the workspace AND auto-selects it for this
contact. addNewTag() is idempotent on case-insensitive
duplicates so typing an existing tag just selects it. --}}
@error('newTagName')
{{ $message }}
@enderror
{{ __('Type a name and press Enter or click Add. New tags are saved instantly and selected for this contact.') }}
{{-- Custom fields — grouped by `group_name`. Ungrouped fields
(group_name=null) render flat at the top, then each named
group renders inside a collapsible