@extends('layouts.admin') @section('page-title', 'Attribute Values') @section('content')
{{-- Page Header --}}

Attribute Values

You have total {{ $attributeValues->total() }} Attributes

{{-- Table --}}

Values

@forelse($attributeValues as $index => $value) @empty @endforelse
# Attribute Values Options
{{ $attributeValues->firstItem() + $index }} {{ $value->attribute?->title ?? '-' }} {{ $value->value }}
@csrf @method('DELETE')

No values yet

Add values using the form on the right

@if($attributeValues->hasPages())
{{ $attributeValues->links() }}
@endif
{{-- Add Value Form --}}

Add Value

@csrf
@error('attribute_id')

{{ $message }}

@enderror
@error('value')

{{ $message }}

@enderror
@endsection