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

limit exam duration to 99999 minutes, fixes #201

parent 04c153a0
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<label id="exam_length" class="practice-hidden selftest-hidden"> <label id="exam_length" class="practice-hidden selftest-hidden">
<span class="required"><?= _vips('Dauer in Minuten') ?></span> <span class="required"><?= _vips('Dauer in Minuten') ?></span>
<input type="number" name="exam_length" value="<?= htmlReady($assignment->options['duration']) ?>" <?= $disabled ?> data-secure required> <input type="number" name="exam_length" min="0" max="99999" value="<?= htmlReady($assignment->options['duration']) ?>" <?= $disabled ?> data-secure required>
</label> </label>
<input id="options-toggle" type="checkbox" value="on" <?= $assignment_id ? '' : 'checked' ?>> <input id="options-toggle" type="checkbox" value="on" <?= $assignment_id ? '' : 'checked' ?>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment