@if($permission['destroy'])
{!! html()->form('DELETE', route($routePrefix . '.destroy', $child->id))->attributes([
'style' => 'display:inline',
'id' => 'delete-form-' . $child->id,
])->open() !!}
{!! html()->form()->close() !!}
@endif
{!! $permission['edit'] ? '
' : '' !!}
{!! $permission['edit'] ? '
' : '' !!}