@extends('admin.layouts.app') @push('libraries_top') @endpush @section('content')

{{ trans('admin/main.roles') }}

@foreach($roles as $role) @endforeach
# {{ trans('admin/main.title') }} {{ trans('admin/main.users_count') }} {{ trans('admin/main.is_admin') }} {{ trans('admin/main.created_at') }} {{ trans('admin/main.actions') }}
{{$role->id}} {{$role->caption}} {{$role->users->count()}} @if($role->is_admin) @else @endif {{ dateTimeFormat($role->created_at,'j M Y') }} @can('admin_roles_edit') @endcan @if($role->canDelete()) @can('admin_roles_delete') @include('admin.includes.delete_button',['url' => getAdminPanelUrl().'/roles/'.$role->id.'/delete']) @endcan @endif
@endsection @push('scripts_bottom') @endpush