@extends('adminlte::page') @section('title', __('title.edit_role')) @section('content_top_nav_right') @endsection @section('content_header') @stop @section('plugins.Flag', true) @section('plugins.Pace', true) @section('plugins.Toastr', true) @section('plugins.Sweetalert2', true) @section('content')
@method('PUT') @csrf
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@can('read-permissions')

{{ __('form.change_role_permission') }}

@foreach($modules as $module) @endforeach
{{ __('table.modules') }} {{ __('table.actions') }}
{{ $module }} @foreach ($permissions as $key => $row) @if (PermissionHelper::getModule($row) == $module)
@endif @endforeach
@endcan
@stop @push('js') @include('layouts.partials._notification') @include('layouts.partials._switch_lang') @endpush @section('footer') @include('layouts.partials._footer') @stop