@extends('admin.layouts.app') @section('crumb') @endsection @section('content')
@csrf @if ($attributes->count() > 0) @foreach ($attributes as $attribute) delete
@foreach (Config('language') as $key => $lang)
id}.name.{$key}", $attribute->getTranslation('name', $key)) }}"> @error("attributes.{$attribute->id}.name.{$key}") {{ $message }} @enderror
@endforeach
@error("attributes.{$attribute->id}.type") {{ $message }} @enderror
@if (in_array($attribute->type, ['radio', 'checkbox', 'select'])) @foreach ($attribute->options as $option)
@foreach (Config('language') as $langKey => $lang) @endforeach
@endforeach @else @foreach (Config('language') as $key => $lang)
id}.value.{$key}", $attribute->getTranslation('value', $key)) }}">
@endforeach @endif

@endforeach
@endif
@endsection @push('admin_js') @endpush