@extends('layouts.main') @section('contentinner')

Role Profile

Role: {{$role->name}}
{{method_field('PUT')}} {{csrf_field()}}

Module Permissions

@foreach($modules as $module)
{{$module->name}}
@foreach ($module->permissions as $permission)
roles()->pluck('id')==$role->id?'checked':''}}--}} @foreach($role->permissions as $p) {{$permission->id==$p->id?'checked':''}} @endforeach />{{ucfirst($permission->name)}}
@endforeach

@endforeach
@stop