@extends('backend.layouts.admin.app') @section('content') Roles {{$title}} {{$title}} @include('backend.layouts.alert') @csrf @if($pageData) @method('PUT') @endif {{ __('app.roles.role_name') }} @if ($errors->has('name')) {{ $errors->first('name') }} @endif {{ __('app.roles.role_description') }} @if ($errors->has('description')) {{ $errors->first('description') }} @endif {{ __('app.roles.assign_permissions') }} @foreach ($groupedPermissions as $module => $actions) {{ ucfirst($module) }} @foreach ($actions as $action) {{ ucfirst($action['action']) }} @endforeach @endforeach @endsection