@extends('admin.layouts.app') @section('main_content')

{{translate($title)}}

{{translate('Update Role')}}
@csrf
{{translate('Permissions')}}
@php $permission_values = []; foreach ((json_decode($role->permissions,true)) as $features) { foreach ($features as $feature) { $permission_values = array_merge($permission_values, $feature); } } @endphp
@foreach ($permissions as $permission)
@foreach(($permission) as $key=>$modules)
{{ucfirst($key)}}
@foreach($modules as $module)
@endforeach
@endforeach
@endforeach
@endsection