<?php
/**
 * Questionnaire edit template
 *
 * @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('Block.id'); ?>
<?php echo $this->NetCommonsForm->hidden('Block.key'); ?>

<?php echo $this->element('Blocks.block_creatable_setting', array(
	'settingPermissions' => array(
	'content_creatable' => __d('quizzes', 'Content creatable roles'),
),
)); ?>

<?php echo $this->element('Blocks.block_approval_setting', array(
	'model' => 'QuizSetting',
	'useWorkflow' => 'use_workflow',
	'options' => array(
	Block::NEED_APPROVAL => __d('blocks', 'Need approval'),
	Block::NOT_NEED_APPROVAL => __d('blocks', 'Not need approval'),
),
));
