aboutsummaryrefslogtreecommitdiff
path: root/app/views/course/statusgroups/create_groups.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-11-13 15:15:00 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2024-11-13 15:15:00 +0000
commit999c050182f840d0b6e0c5bb13eb66ec59a62018 (patch)
tree13834da1f899c16b9358814c0369b23b2552203f /app/views/course/statusgroups/create_groups.php
parent019f57e1eabbe8270310c30f86980c8ce5d41483 (diff)
prevent warning if no self assign is activated, fixes #2518
Closes #2518 Merge request studip/studip!3632
Diffstat (limited to 'app/views/course/statusgroups/create_groups.php')
-rw-r--r--app/views/course/statusgroups/create_groups.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/views/course/statusgroups/create_groups.php b/app/views/course/statusgroups/create_groups.php
index c011b79..4616500 100644
--- a/app/views/course/statusgroups/create_groups.php
+++ b/app/views/course/statusgroups/create_groups.php
@@ -106,24 +106,25 @@
</section>
<section>
<label>
- <input type="checkbox" name="selfassign" value="1">
+ <input type="checkbox" name="selfassign" value="1"
+ data-shows=".self-assign-option">
<?= _('Selbsteintrag') ?>
</label>
</section>
- <section>
+ <section class="self-assign-option">
<label>
<input type="checkbox" name="exclusive" value="1">
<?= _('Selbsteintrag in nur eine Gruppe') ?>
</label>
</section>
- <section class="col-3">
+ <section class="col-3 self-assign-option">
<label class="col-3">
<?= _('Selbsteintrag erlaubt ab') ?>
<input type="text" data-datetime-picker id="selfassign_start" size="20"
name="selfassign_start" value="<?= date('d.m.Y H:i') ?>">
</label>
</section>
- <section class="col-3">
+ <section class="col-3 self-assign-option">
<label class="col-3">
<?= _('Selbsteintrag erlaubt bis') ?>
<input type="text" data-datetime-picker='{">":"#selfassign_start"}' size="20"