@lang('default.name')
{!! clean( $errors->first('name', '
:message
') ) !!}
@lang('default.permissions')
@foreach(\App\PermissionGroup::orderBy('sort_order')->get() as $group)
@lang('default.'.$group->name)
@lang('default.permission')
@lang('default.enabled')
@foreach($group->permissions as $permission)
@lang('perm.'.$permission->name)
permissions()->find($permission->id)) checked @endif />
@endforeach
@endforeach