@extends('layouts/edit-form', [
'createText' => trans('admin/groups/titles.create') ,
'updateText' => trans('admin/groups/titles.update'),
'item' => $group,
'formAction' => ($group !== null && $group->id !== null) ? route('groups.update', ['group' => $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