@extends('admin.layout.template') @section('title','Edit Role') @section('content')
@csrf {{-- Role Info --}}

Edit Role

is_locked ? 'checked' : '' }}>
{{-- Permissions Table --}}

Permissions

@php $actions = ['add','view','update','delete']; @endphp @foreach($permissions as $module => $perms) @foreach($actions as $action) @endforeach @endforeach
Module Add View Edit Delete/ Reject
{{ str_replace(['-','_'], ' ', $module) }} @if(isset($perms[$action])) @endif
@endsection