@extends('admin.layout') @section('css') @endsection @section('content')
Edit YOUR USER AND GIVE PERMISSION FOR THE DASHBOARD
Edit User And Assign The Permission
@csrf
@if($errors->has('name'))

{{ $errors->first('name') }}

@endif
@if($errors->has('email'))

{{ $errors->first('email') }}

@endif
Please never share your email & password with anyone else. @if($errors->has('password'))

{{ $errors->first('password') }}

@endif
@foreach ($permissions as $key => $item)
permissions))) checked @endif type="checkbox" value="{{$item}}" class="form-check-input4" id="permissions{{$key}}" name="permissions[{{$key}}]">
@endforeach
@endsection @section('js') @endsection