From ef9feaf45e5b6cbb3a33d05710c2b7e82cb3d5fd Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms <tleilax+github@gmail.com> Date: Wed, 2 Mar 2022 10:22:05 +0100 Subject: [PATCH] oer campus: make title required, fixes #750 --- app/views/oer/mymaterial/edit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/oer/mymaterial/edit.php b/app/views/oer/mymaterial/edit.php index 434414fa4ab..dc6cc145d83 100755 --- a/app/views/oer/mymaterial/edit.php +++ b/app/views/oer/mymaterial/edit.php @@ -10,10 +10,11 @@ <legend><?= _('Grunddaten') ?></legend> <label> - <?= _('Name') ?> + <span class="required"><?= _('Name') ?></span> <input type="text" name="data[name]" class="oername" + required value="<?= htmlReady($material['name'] ?: $template['name']) ?>" @keyup="editName" maxlength="64"> -- GitLab