@props(['route' => route('moniz.update')]) @php $id = $attributes->has('id') ? $attributes->get('id') : str($key)->replace('->', '-'); $keys = explode('->', $key); @endphp {{ $slot }} @can('Admin') @endcan