{{ __('Custom Fields') }}
{{ __('Please review the list.') }}
@if (auth()->user()->can('create-custom-fields')) {{ __('Add Custom Field') }} @endif
@if ($custom_fields->isEmpty())

{{ __('There is no data to display') }}

@else
@foreach ($custom_fields as $custom_field) @endforeach
{{ __('Custom Field') }} {{ __('Models') }} {{ __('Actions') }}
{{ $custom_field->name }}
{{ __('Type') }}: {{ $custom_field->type }}
{{ implode(', ', $custom_field->models) }} @if ($custom_field->active) {{ __('Active') }} @else {{ __('Inactive') }} @endif @if ($custom_field->required) {{ __('Required') }} @else {{ __('Not Required') }} @endif {{-- TODO: Private --}} {{-- @if ($custom_field->show) {{ __('Public') }} @else {{ __('Private') }} @endif --}} @if (auth()->user()->can('update-custom-fields')) {{ __('Edit') }}, {{ $custom_field->name }} @endif @if (auth()->user()->can('delete-custom-fields')) @endif
@if ($custom_fields->hasPages())
{{ $custom_fields->links() }}
@endif
@endif