@extends('layouts.admin') @section('content') @section('headerTitle') {{ __('Role Management') }} @endsection @section('breadcrumbs') {{ Breadcrumbs::render('admin.administration.role.view', $role) }} @endsection @section('buttons') @can('admin-create') @endcan @endsection

{{$role->name}}

Total utilizatori cu acest rol: {{$role->users_count}}
@forelse($role->modules->take(3) as $module)
{{__('module.'. $module->section->name."")}} : {{__('module.'. $module->name ."")}}
@empty
Nici un modul atasat
@endforelse
@php $count = $role->modules->count() - 3; $render_count = $count > 0 ? 'and ' . $count . ' more' : '' @endphp {!! $render_count !!}
@endsection @push('scripts') @endpush