@extends('layouts.app') @section('content')

Roles

@if ($errors->any())

@endif
@foreach ($permissions as $permission)
id,$role->permissions()->pluck('id')->toArray()))?"checked":""}} disabled/> {{$permission->name}}
@endforeach
Back
@endsection