Skip to content

Commit

Permalink
Dev: Remove extra <tr> in dual-scale array
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Apr 14, 2016
1 parent 489dfa8 commit 0339f88
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions application/views/survey/questions/arrays/dualscale/answer.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,23 +86,22 @@
<!-- Close body and open another one -->
</tbody>
<tbody>
<tr class="hidden-xs repeat headings">
<!-- Render header -->
<?php echo Yii::app()->getController()->renderPartial(
'/survey/questions/arrays/dualscale/answer_header',
array(
'labelans0' => $labelans0,
'labelans1' => $labelans1,
'shownoanswer' => $shownoanswer,
'rightexists' => $rightexists,
'class' => 'hidden-xs repeat headings'
),
true
);
?>
</tr>
<!-- Render repeated header -->
<?php echo Yii::app()->getController()->renderPartial(
'/survey/questions/arrays/dualscale/answer_header',
array(
'labelans0' => $labelans0,
'labelans1' => $labelans1,
'shownoanswer' => $shownoanswer,
'rightexists' => $rightexists,
'class' => 'hidden-xs repeat headings'
),
true
);
?>
<?php endif; ?>

<!-- tr -->
<?php echo $ansrow['htmlbody2']; ?>

<th class="answertext">
Expand Down Expand Up @@ -229,6 +228,8 @@ class='radio'
</td>
<?php endif; ?>

</tr>

<?php endforeach; ?>

</tbody>
Expand Down

0 comments on commit 0339f88

Please sign in to comment.