@php
$count = 0;
@endphp
@foreach (Acelle\Model\AdminGroup::allPermissions() as $key => $items)
@php
$count += 1;
@endphp
{{ trans('messages.' . $key) }}
drag_indicator
@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