@extends ('../welcome') @section('content')
{{--

Select User

--}}

Select Role

@foreach ($permissions->groupBy('type') as $type => $permissionsByType) @endforeach
Name Action
{{ $type }}
@php $count = 0; @endphp @foreach ($permissionsByType as $permission) @if ($count % 4 == 0 && $count > 0)
@endif @php $count++; @endphp @endforeach
@endsection