@extends('layouts.dash') @section('title') Utilisateurs @stop @section('title_card',"Utilisateur") @section('subtitle_card',"Liste complète") @section('content')
@foreach ($users_list as $user_row) @endforeach
Nom Identifiant Rôles
{!! $user_row->name !!} {!! $user_row->email !!} {!! $user_row->getRoles(); !!} @if( ($user->hasRole("ADMINISTRATEUR")) && (count($user_row->getRoleNames())==0) && (!$user_row->hasAnyDirectPermission()) ) {!! Form::open(['url' => url('users/' . $user_row->id), 'method' => 'DELETE']) !!} {{ csrf_field() }} {!! Form::close() !!} @endif
@endsection @section('scripts') @include("forms.scripts_datatable") @endsection