aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/courses/lock_preselect.php
blob: 90943245670d60552868631316e929ff49fa789f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/**
 * @var SimpleCollection $all_lock_rules
 */
?>
<label><?= _('Für alle Veranstaltungen') ?>
    <select name="lock_sem_all" style="max-width: 200px">
        <? foreach ($all_lock_rules as $lock_rule): ?>
            <option value="<?= htmlReady($lock_rule->id) ?>">
                <?= htmlReady($lock_rule->name) ?>
            </option>
        <? endforeach ?>
    </select>
</label>

<?= \Studip\Button::createAccept(_('Zuweisen'), 'all', ['formaction' => URLHelper::getURL('dispatch.php/admin/courses/set_lockrule')]); ?>