@extends('app.master') @section('title',$title) @section('breadcrumb') @include('app.layouts.rent.breadcrumb',[ 'pageTitle' => $title, 'lists' => [ [ 'link' => '#', 'name' => 'Roles Management', ], [ 'link' => 'roles.index', 'name' => 'Roles', ], [ 'link' => '#', 'name' => $title, ] ] ]) @endsection @section('content')

Update role

Edit role and manage permissions.
@if (count($errors) > 0)
Whoops! There were some problems with your input.

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@method('patch') @csrf
@foreach($permissions as $permission) @endforeach
Name Guard
name, $rolePermissions) ? 'checked' : '' }}> {{ $permission->name }} {{ $permission->guard_name }}
Back
@endsection @section('script') @endsection