@extends('admin.layouts.master') @section('title',"Role") @section('style') @endsection @section('body') @csrf @method('PATCH') Role Name Permission @foreach($type as $key => $value) {{$value}} @foreach($permission as $key2 => $item) @if($item->type == $key) id]) checked @endisset class="custom-control-input" > {{$item->display_name}} @endif @endforeach @endforeach Submit @endsection @section('script') @endsection