<?php
/**
 * Quiz frame display setting
 *
 * @author Noriko Arai <arai@nii.ac.jp>
 * @author Allcreator <info@allcreator.net>
 * @link http://www.netcommons.org NetCommons Project
 * @license http://www.netcommons.org/license.txt NetCommons License
 * @copyright Copyright 2014, NetCommons Project
 */
?>

<?php echo $this->NetCommonsForm->hidden('id'); ?>
<?php echo $this->NetCommonsForm->hidden('frame_key', array('value' => Current::read('Frame.key'))); ?>
<?php echo $this->NetCommonsForm->hidden('Frame.id'); ?>
<?php echo $this->NetCommonsForm->hidden('Frame.key'); ?>
<?php echo $this->NetCommonsForm->hidden('Block.id'); ?>

<div class="col-xs-12 form-group">
    <?php echo $this->element('Quizzes.QuizFrameSettings/edit_display_type'); ?>
</div>

<div class="col-xs-12 form-group" ng-show="quizFrameSettings.displayType == <?php echo QuizzesComponent::DISPLAY_TYPE_LIST; ?>">
    <?php echo $this->element('Quizzes.QuizFrameSettings/edit_list_display_option'); ?>
</div>

<div class="col-xs-12 form-group">
    <?php echo $this->element('Quizzes.QuizFrameSettings/edit_display_quiz'); ?>
</div>
