@extends('layouts.admin') @section('content')
{{ __('Roles List') }}
@can('role_create') Add New Role @endcan

@forelse ($roles as $role) @empty @endforelse
ID Title Short Code  
{{$role->id}} {{$role->title}} {{$role->short_code ?? '--'}} @can('role_show') View @endcan @can('role_edit') Edit @endcan @can('role_delete')
@csrf @method('DELETE')
@endcan
No Roles Found
@if($roles->total() > $roles->perPage())

{{$roles->links()}} @endif
@endsection