@can('piada.update') @endcan @can('piada.delete') @endcan @foreach($registros as $registro) @can('piada.update') @endcan @can('piada.delete') @endcan @endforeach
#ID QUEM INSERIU PIADA RESPOSTA ATIVO?
{{$registro->id}} {{$registro->pessoa->nome}} {{$registro->texto}} {{$registro->resposta}} @if($registro->active)@else@endif
{{$registros->render()}}