@extends('layouts/edit-form', [
'createText' => trans('admin/groups/titles.create') ,
'updateText' => trans('admin/groups/titles.update'),
'helpTitle' => trans('admin/groups/general.about_groups_title'),
'helpText' => trans('admin/groups/general.about_groups_text'),
'item' => $group,
'formAction' => ($group !== null && $group->id !== null) ? route('groups.update', ['accessory' => $group->id]) : route('groups.store'),
])
@section('content')
@parent
@stop
@section('inputFields')
@foreach ($permissions as $area => $permission)
@for ($i = 0; $i < count($permission); $i++)
@if ($permission[$i]['display'])
{{ $area }}: {{ $permission[$i]['label'] }}
{{ $permission[$i]['note'] }}
@endif
@endfor
@endforeach
@stop