@php $relationshipDetails = $relationship['details']; $relationshipKeyArray = array_fill_keys(["model", "table", "type", "column", "key", "label", "pivot_table", "pivot", "taggable"], ''); $adv_details = array_diff_key(json_decode(json_encode($relationshipDetails), true), $relationshipKeyArray); @endphp

{{ $relationship->getTranslatedAttribute('display_name') }}

{{ __('voyager::database.type') }}: {{ __('voyager::database.relationship.relationship') }}
{{ __('voyager::generic.required') }}: required))checked="checked"@endif>
browse) && $relationship->browse) checked="checked" @elseif(!isset($relationship->browse)) checked="checked" @endif>
read) && $relationship->read) checked="checked" @elseif(!isset($relationship->read)) checked="checked" @endif>
edit) && $relationship->edit) checked="checked" @elseif(!isset($relationship->edit)) checked="checked" @endif>
add) && $relationship->add) checked="checked" @elseif(!isset($relationship->add)) checked="checked" @endif>
delete) && $relationship->delete) checked="checked" @elseif(!isset($relationship->delete)) checked="checked" @endif>

{{ __('voyager::database.relationship.relationship') }}

@if($isModelTranslatable) @include('voyager::multilingual.input-hidden', [ 'isModelTranslatable' => true, '_field_name' => 'field_display_name_' . $relationship['field'], '_field_trans' => get_field_translations($relationship, 'display_name') ]) @endif
{{ __('voyager::database.relationship.open') }} {{ __('voyager::database.relationship.close') }} {{ __('voyager::database.relationship.relationship_details') }}
{{ __('voyager::database.relationship.delete') }}

{{ \Illuminate\Support\Str::singular(ucfirst($table)) }}


@isset($relationshipDetails->taggable) taggable == 'on' ? 'checked' : ''}}> @endisset
{{ __('voyager::json.invalid') }}