@if ((count(PermissionKey::getConstants()) > 0))
@foreach (PermissionKey::getConstants() as $modulo)
{{ $modulo['name'] }}
@if ((isset($modulo['permissions']) && (count($modulo['permissions']) > 0)))
@foreach ($modulo['permissions'] as $permission)
hasPermissionTo($permission['name'])) ? 'checked' : '' }} value="true">
@endforeach
@endif
@endforeach
@endif