@include('helpers.form_control', ['type' => 'text', 'name' => 'name', 'value' => $group->name, 'help_class' => 'admin_group', 'rules' => Acelle\Model\AdminGroup::$rules])

settings {{ trans('messages.admin_group_options') }}

@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