Administration

{{ $role->exists ? 'Edit role' : 'Create role' }}

Define the role and the permissions it grants.

Back
@if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @if($role->exists) @method('PUT') @endif

Permissions

@foreach($permissions as $permission) @endforeach