@extends('backend.layouts.layout-2')
@section('page-title', trans('app.roles'))
@section('page-heading', trans('app.roles'))
@section('content')
| @lang('app.name') |
@lang('app.users_with_this_role') |
@if ($roles->count() > 0)
@foreach ($roles as $role)
| {{ $role->name }} |
{{ $role->users->count() }} |
@if(\Auth::user()->can('roles.edit'))
@endif
@if(\Auth::user()->can('roles.delete'))
@endif
|
@endforeach
@else
| @lang('app.no_records_found') |
@endif
@stop