@extends('layouts.theme') @section('title','Assign Permission') @section('style') @endsection @section('content')
@csrf
Assign Role
Assign Direct Permission
@foreach ($permissions as $value=>$permission)
@foreach ($permission as $item)
permissions as $role_per) {{$role_per->id == $item->id ?' checked ':''}} @endforeach name="permission[]" value="{{$item->id}}" class="custom-control-input {{$value}}" id="{{$item->name}}" >
@endforeach
@endforeach
@endsection @section('script') @endsection