@extends('Core.Admin.Http.Views.layout', [ 'title' => __('admin.title', [ 'name' => __('admin.roles.edit_title', [ 'name' => $role->name, ]), ]), ]) @push('header') @at('Core/Admin/Http/Views/assets/styles/pages/roles.scss') @endpush @push('content')
@t('def.back')

@t('admin.roles.edit_title', [ 'name' => $role->name, ])

@t('admin.roles.edit_description')

@csrf
@t('admin.roles.perm_desc')
@foreach ($permissions as $permission) @if (!user()->hasPermission($permission->name) && !user()->hasPermission('admin.boss')) @continue @endif
hasPermission($permission)) checked @endif>
@endforeach
@endpush @push('footer') @at('Core/Admin/Http/Views/assets/js/pages/roles/add.js') @endpush