@extends('admin.layout.master') @section('title', 'Roles') @section('body')

Edit Role

@csrf
@if (isset($all_permission)) @if (isset($role_category)) @foreach ($role_category as $cate)

{{ $cate }}

@foreach ($all_permission as $per) @if ($per->category == $cate)
@endif @endforeach
@endforeach @endif @endif
@endsection @push('script') @endpush