@extends('plantilla.admin') @section('contenido')

List of Roles

@can('haveaccess','role.create') Create

@endcan @include('custom.message') @foreach ($roles as $role) @endforeach
# Name Slug Description Full access
{{ $role->id}} {{ $role->name}} {{ $role->slug}} {{ $role->description}} {{ $role['full-access']}} @can('haveaccess','role.show') Show @endcan @can('haveaccess','role.edit') Edit @endcan @can('haveaccess','role.destroy')
@csrf @method('DELETE')
@endcan
{{ $roles->links() }}
@endsection