@extends('admin.layouts.master') @section('content')

{{ $title }}

@if ($errors->any()) @foreach ($errors->all() as $error)
{{ $error }}
@endforeach @endif
@csrf @if (isset($role->id)) @method('PUT') @endif
@foreach ($permission as $item)
@foreach (\Spatie\Permission\Models\Permission::where('parent', $item->id)->get() as $value)
@endforeach

@endforeach
بازگشت
@endsection @section('js-page') @foreach ($permission as $item) @endforeach @endsection