@extends('layouts.partials.master') @section('title', 'Produtos') @push('styles') @endpush @section('content')
@include('layouts.components.section-title', ['title' => 'Gerir Atributos']) Voltar
@include('layouts.components.alerts')
@csrf @method('POST')
@include('layouts.components.section-marker', ['section_name' => 'Produto', 'mt' => 'mt-0'])
{{ $product['name'] }}
@forelse($attributes as $attribute) @if (isset($attribute->values) && count($attribute->values) > 0)
@include('layouts.components.section-marker', ['section_name' => $attribute->name, 'mt' => 'mt-2'])
@foreach($attribute->values as $value)
contains('attribute_value_id', $value->id) ? 'checked' : '' }}>
@endforeach
@endif @empty

{{ __('translations.no_results') }}

@endforelse
@if (count($attributes) > 0)

@endif
@endsection