aboutsummaryrefslogtreecommitdiff
path: root/app/views/course/admission/instant_course_set.php
blob: 01409b31408d0e6bf6eda6ae010b69f99b696ba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<? foreach(PageLayout::getMessages() as $pm) : ?>
    <?= $pm ?>
<? endforeach; ?>
<form class="default" action="<?= $controller->link_for() ?>" method="post">
    <?= CSRFProtection::tokenTag()?>

    <input type="hidden" name="type" value="<?=htmlReady($type)?>">
    <input type="hidden" name="rule_id" value="<?=htmlReady($rule_id)?>">
    <fieldset>
        <legend><?= _('Neue Anmelderegel erstellen') ?></legend>
        <? foreach ($types as $type) : ?>
            <admission-rule-config type="<?= htmlReady($type) ?>"></admission-rule-config>
        <? endforeach ?>
        <label class="caption"><?= _("Name für diese Anmelderegel")?></label>
        <input type="text" name="instant_course_set_name" size="70" value="<?= htmlReady($course_set_name) ?>">
    </fieldset>

    <footer data-dialog-button>
        <?= Studip\Button::create(_("Speichern"), 'save', ['data-dialog' => ''])?>
    </footer>
</form>