{{ csrf_field() }}
@foreach($userAssociacoes->data[0]->categorias as $key => $categoria)

@endforeach @foreach($categorias->data as $key => $categoria) @php($verificardor = false) @foreach($userAssociacoes->data[0]->categorias as $userCategoria) @if($categoria->id == $userCategoria->id) @php($verificardor = true) @endif @endforeach @if($verificardor == false)

@endif @endforeach