Remove questions from parent multi-variant sets
This commit is contained in:
@@ -44,6 +44,7 @@ HTMLHelper::_('behavior.formvalidator');
|
||||
</a>
|
||||
</fieldset>
|
||||
<?php endif; ?>
|
||||
<?php if (!((string) $this->item->set_type === 'multi' && (int) $this->item->parent_id === 0)) : ?>
|
||||
<fieldset class="mb-3">
|
||||
<legend><?php echo \Joomla\CMS\Language\Text::_('COM_TESTQUESTIONS_SET_SELECTED_QUESTIONS'); ?></legend>
|
||||
<div id="set-selected-question-list" class="border rounded p-3">
|
||||
@@ -109,6 +110,11 @@ HTMLHelper::_('behavior.formvalidator');
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</fieldset>
|
||||
<?php else : ?>
|
||||
<div class="alert alert-info">
|
||||
<?php echo \Joomla\CMS\Language\Text::_('COM_TESTQUESTIONS_SET_MULTI_QUESTIONS_INFO'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</fieldset>
|
||||
<input type="hidden" name="task" value="">
|
||||
<?php echo HTMLHelper::_('form.token'); ?>
|
||||
|
||||
Reference in New Issue
Block a user