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

Roles

@if ($errors->any())

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