Skip to content
Snippets Groups Projects
Commit 043688ed authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

display all settings when creating new assignment, fixes #176

parent 3215ddb4
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@
<input type="number" name="exam_length" value="<?= htmlReady($assignment->options['duration']) ?>" <?= $disabled ?> data-secure required>
</label>
<input id="options-toggle" type="checkbox" value="on">
<input id="options-toggle" type="checkbox" value="on" <?= $assignment_id ? '' : 'checked' ?>>
<label class="caption" for="options-toggle">
<?= Icon::create('arr_1down', 'clickable', ['class' => 'toggle-open']) ?>
<?= Icon::create('arr_1right', 'clickable', ['class' => 'toggle-closed']) ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment