{{ __('adminhub::settings.attributes.show.title', [ 'type' => $this->type, ]) }}

{{ __('adminhub::components.attributes.show.create_group_btn') }}
@forelse($sortedAttributeGroups as $group)
{{ $group->translate('name') }}
@if ($group->attributes->count()) @endif {{ __('adminhub::components.attributes.show.edit_group_btn') }} {{ __('adminhub::components.attributes.show.create_attribute') }} {{ __('adminhub::components.attributes.show.delete_group_btn') }}
attributes->count()) x-cloak x-show="expanded" @endif>
@foreach ($group->attributes as $attribute)
{{ $attribute->translate('name') }}
{{ class_basename($attribute->type) }}
{{ __('adminhub::components.attributes.show.edit_attribute_btn') }} @if (!$attribute->system) {{ __('adminhub::components.attributes.show.delete_attribute_btn') }} @endif
@endforeach
@if (!$group->attributes->count()) {{ __('adminhub::components.attributes.show.no_attributes_text') }} @endif
@empty
{{ __('adminhub::components.attributes.show.no_groups') }}
@endforelse
{{ __('adminhub::components.attributes.show.create_title') }} @livewire('hub.components.settings.attributes.attribute-group-edit', [ 'typeHandle' => $type, 'attributableType' => $this->typeClass, ]) @if ($this->attributeGroupToEdit) {{ __('adminhub::components.attributes.show.edit_title') }} @livewire('hub.components.settings.attributes.attribute-group-edit', [ 'typeHandle' => $type, 'attributableType' => $this->typeClass, 'attributeGroup' => $this->attributeGroupToEdit, ]) @endif @if ($this->attributeGroupToDelete) {{ __('adminhub::components.attributes.show.delete_title') }} @if (!$this->groupProtected) {{ __('adminhub::components.attributes.show.delete_warning') }} @else {{ __('adminhub::components.attributes.show.group_protected') }} @endif
{{ __('adminhub::global.cancel') }} @if (!$this->groupProtected) {{ __('adminhub::global.delete') }} @endif
@endif @if ($this->attributeToDelete) {{ __('adminhub::components.attributes.show.delete_attribute_title') }} @if (!$this->attributeToDelete->system) {{ __('adminhub::components.attributes.show.delete_attribute_warning') }} @else {{ __('adminhub::components.attributes.show.delete_attribute_protected') }} @endif
{{ __('adminhub::global.cancel') }} @if (!$this->attributeToDelete->system) {{ __('adminhub::global.delete') }} @endif
@endif @if ($this->attributeCreateGroup) @livewire('hub.components.settings.attributes.attribute-edit', [ 'group' => $this->attributeCreateGroup, ]) @endif @if ($this->attributeToEdit) @livewire('hub.components.settings.attributes.attribute-edit', [ 'attribute' => $this->attributeToEdit, ]) @endif