@elseif($element->type == 5)
                <!--xor-->
            @foreach($row as $subid => $subrow)
                <?php 
$ele = \App\Element::getElement($subid);
?>
                @if($ele->type == 3)
                    @if(file_exists("svg/".$experiment->id."/".$ele->id."_".$user->student.".png"))
                        <td style="background-color: #d9edf7"><a href="http://localhost/svg/{{ $experiment->id }}/{{  $ele->id }}_{{$user->student}}.png">http://localhost/svg/{{ $experiment->id }}/{{  $ele->id }}_{{$user->student}}.png</a></td>
                    @else
                        <td style="background-color: #d9edf7">&nbsp;</td>
                    @endif
                @elseif($ele->type == 2)
                    @foreach($subrow as $subsubrow)
                        <?php 
$fie = \App\Field::getField($subsubrow['field']);
?>
                        @if($fie->type == 3 OR $fie->type == 4 OR $fie->type == 5)
                            <td  style="background-color: #C1D4DE;">{{\App\Field::getFieldAnswers($subsubrow['field'], \App\Answer::getValue($subid, $subsubrow['field'],$user->student)) }} </td>
                        @else
                            <td style="background-color: #C1D4DE">{{ \App\Answer::getValue($subid, $subsubrow['field'],$user->student) }}  </td>
                        @endif
                    @endforeach
                @else
                    <td style="background-color: #d9edf7">{{ $ele->title }}</td>
                @endif
            @endforeach
            @endif
        @endforeach

    </tr>