diff --git a/views/groups/form.blade.php b/views/groups/form.blade.php index 962916289..0a86af795 100644 --- a/views/groups/form.blade.php +++ b/views/groups/form.blade.php @@ -27,10 +27,10 @@ - @foreach($permissionModules as $moduleName => $moduleItems) + @foreach($permissionModules as $permissionModuleName => $moduleItems) @@ -67,12 +67,12 @@ @if(\A17\Twill\Facades\TwillPermissions::levelIs(\A17\Twill\Enums\PermissionLevel::LEVEL_ROLE_GROUP_ITEM)) @can('edit-user-groups') @section('fieldsets') - @foreach($permissionModules as $moduleName => $moduleItems) - + @foreach($permissionModules as $permissionModuleName => $moduleItems) + @endforeach diff --git a/views/users/form.blade.php b/views/users/form.blade.php index fc5845844..7926b9d1d 100644 --- a/views/users/form.blade.php +++ b/views/users/form.blade.php @@ -164,12 +164,12 @@ function($locale) { :render-for-blocks="false" :field-values="$item->role_id" > - @foreach($permissionModules as $moduleName => $moduleItems) - + @foreach($permissionModules as $permissionModuleName => $moduleItems) + @endforeach