correct indentation for Questtype ?Choiceinput?
This commit is contained in:
parent
2577779f80
commit
1287c44ed6
1 changed files with 14 additions and 14 deletions
|
|
@ -48,21 +48,21 @@
|
||||||
<legend><?=_('Choice inputs')?></legend>
|
<legend><?=_('Choice inputs')?></legend>
|
||||||
<ul id="lists">
|
<ul id="lists">
|
||||||
<?php foreach($choiceLists as $listIndex => &$list) : ?>
|
<?php foreach($choiceLists as $listIndex => &$list) : ?>
|
||||||
<?php if(!empty($validations) && array_key_exists($listIndex, $validations) && !empty($validations[$listIndex]) && array_key_exists('answer', $validations[$listIndex]) && $validations[$listIndex]['answer'] !== true) : ?>
|
|
||||||
<ul>
|
|
||||||
<?php foreach($validations[$listIndex]['answer'] as $setting => $value) : ?>
|
|
||||||
<li>
|
|
||||||
<?php
|
|
||||||
switch($setting) {
|
|
||||||
case 'exist': printf(_('Please select correct choice'));
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</li>
|
|
||||||
<?php endforeach ?>
|
|
||||||
</ul>
|
|
||||||
<?php endif ?>
|
|
||||||
<li id="list-<?=$listIndex?>">
|
<li id="list-<?=$listIndex?>">
|
||||||
|
<?php if(!empty($validations) && array_key_exists($listIndex, $validations) && !empty($validations[$listIndex]) && array_key_exists('answer', $validations[$listIndex]) && $validations[$listIndex]['answer'] !== true) : ?>
|
||||||
|
<ul>
|
||||||
|
<?php foreach($validations[$listIndex]['answer'] as $setting => $value) : ?>
|
||||||
|
<li>
|
||||||
|
<?php
|
||||||
|
switch($setting) {
|
||||||
|
case 'exist': printf(_('Please select correct choice'));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</li>
|
||||||
|
<?php endforeach ?>
|
||||||
|
</ul>
|
||||||
|
<?php endif ?>
|
||||||
<ul>
|
<ul>
|
||||||
<?php foreach($list['choices'] as $choiceIndex => &$choice) : ?>
|
<?php foreach($list['choices'] as $choiceIndex => &$choice) : ?>
|
||||||
<li>
|
<li>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue