correct indentation for Questtype ?Choiceinput?

This commit is contained in:
coderkun 2014-08-29 15:30:02 +02:00
commit 1287c44ed6

View file

@ -48,6 +48,7 @@
<legend><?=_('Choice inputs')?></legend>
<ul id="lists">
<?php foreach($choiceLists as $listIndex => &$list) : ?>
<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) : ?>
@ -62,7 +63,6 @@
<?php endforeach ?>
</ul>
<?php endif ?>
<li id="list-<?=$listIndex?>">
<ul>
<?php foreach($list['choices'] as $choiceIndex => &$choice) : ?>
<li>