|
|
|
@ -25,8 +25,8 @@ class CheckBoxQuestion extends BoxQuestion
|
|
|
|
|
$possibleResponses = $this->getPossibleResponses();
|
|
|
|
|
$categories = $this->getCategories();
|
|
|
|
|
|
|
|
|
|
$html = "\t\t\t<div id='question'>
|
|
|
|
|
\t\t\t\t<label>$content</label>\n";
|
|
|
|
|
$html = "\t\t\t<div class='question'>
|
|
|
|
|
<label>$content</label>\n";
|
|
|
|
|
|
|
|
|
|
for($i = 0; $i < count($possibleResponses); $i++)
|
|
|
|
|
{
|
|
|
|
@ -36,7 +36,7 @@ class CheckBoxQuestion extends BoxQuestion
|
|
|
|
|
$categoriesSplit.= $category."_";
|
|
|
|
|
}
|
|
|
|
|
$html.= "\t\t\t\t<input type='checkbox' id='checkBoxQuestion' name='answers[]' value='$categoriesSplit' />
|
|
|
|
|
\t\t\t\t<label>$possibleResponses[$i]</label>\n";
|
|
|
|
|
<label>$possibleResponses[$i]</label>\n";
|
|
|
|
|
}
|
|
|
|
|
$html.= "\t\t\t</div>\n";
|
|
|
|
|
|
|
|
|
|