@extends('admin.layout.master') @section('title', 'المشرفين') @section('content')

المشرفين

تعديل البيانات

@csrf @method('PATCH')
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@foreach(\Spatie\Permission\Models\Permission::all() as $permission)
getAllPermissions()->contains($permission->id)) checked @endif value="{{$permission->name}}">
@endforeach
@stop