aboutsummaryrefslogtreecommitdiff
path: root/app/views/settings/statusgruppen/assign.php
blob: 36d52b08e5e9adc23219601d902b4d07cfea9dfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<form action="<?= $controller->link_for('settings/statusgruppen/assign') ?>" method="post" class="default">
    <input type="hidden" name="studip_ticket" value="<?= get_ticket() ?>">
    <?= CSRFProtection::tokenTag() ?>
    <fieldset>
        <legend><?= _('Person einer Gruppe zuordnen') ?></legend>

        <label>
            <?= _('Einrichtung und Funktion auswählen') ?>:
            <select required name="role_id" class="role-selector">
                <option value="">-- <?= _('Bitte auswählen') ?> --</option>
            <? if ($admin_insts && is_array($admin_insts)): ?>
                <?= $this->render_partial('settings/statusgruppen/_optgroup', ['data' => $admin_insts]) ?>
            <? endif; ?>
            </select>
        </label>
    </fieldset>

    <footer>
        <?= Studip\Button::create(_('Zuweisen'), 'assign') ?>
    </footer>
</form>