@extends('layouts.cms_app') @section('content')

{{$title}}

@if($auth->role->id != 5) @endif @if($auth->role->id != 4) @if(count($posts)>0) @endif @endif
@if($auth->role->id == 1 || $auth->role->id == 2) @if(count($usuarios)>0)

Usuários

@if($auth->role->id != 3) @endif @foreach($usuarios as $usuario) @if($auth->role->id != 3) @endif @endforeach
USUÁRIO TIPO CRIADO EM AÇÃO
user-image {{$usuario->name}}
{{$usuario->role->label}}
{{$usuario->created_at ? $usuario->created_at->diffForHumans() : 'Não foi atualizado!'}}
{{ csrf_field() }}
@endif @endif
@endsection