@extends('dashboard.layouts.app') @section('title', trans('admin.roles.title'). ' - ') @section('speedbar')
@endsection @section('content')
@can('create', 'roles') @lang('admin.add') @endcan
@if(count($roles) == 0) @endif @foreach($roles as $role) @endforeach
ID @lang('admin.roles.name') @lang('admin.actions')
@lang('admin.no_data')
{{ $role->id }} {{ $role->name }} @can('update', 'roles') @endcan @can('delete', 'roles') @if($role->id > 4) @endif @endcan
{{ $roles->links('pagination::bootstrap-4') }}
@endsection