@extends('admin.partials.layout') @section('css') @endsection @section('content')

Create Role

Create Role Form

@csrf
@if($errors->has('name'))

{{ $errors->first('name') }}

@endif
@foreach ($permissions->groupBy('grouping') as $group => $permissions)

{{$group}} & Permission


@foreach ($permissions as $permission)
@endforeach
@endforeach
@endsection @section('js') @endsection