@foreach (Acelle\Model\AdminGroup::allPermissions() as $key => $items)
{{ trans('messages.' . $key) }}
@foreach ($items as $act => $ops)
@include('helpers.form_control', [
'type' => 'select',
'class' => 'numeric',
'name' => 'permissions[' . $key . "_" . $act .']',
'value' => $permissions[$key . "_" . $act],
'label' => trans('messages.' . $act),
'options' => $ops["options"],
'help_class' => 'admin_group',
'rules' => Acelle\Model\AdminGroup::rules()
])
@endforeach
@endforeach