aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/sem_classes/add_sem_class.php
blob: 9c728e04401af3577fed9d90a14b0f27140cd1d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<form action="<?= $controller->link_for('admin/sem_classes/create_sem_class') ?>" method="post" class="default">
    <fieldset>
        <legend>
            <?= _('Veranstaltungskategorie anlegen') ?>
        </legend>

        <label>
            <span class="required">
                <?= _("Name") ?>
            </span>
            <?= I18N::input('add_name', new I18NString('', []), ['required' => true]) ?>
        </label>

        <label>
            <?= _("Attribute kopieren von Veranstaltungskategorie") ?>
            <select name="add_like">
                <option value=""><?= _("keine") ?></option>
                <? foreach ($GLOBALS['SEM_CLASS'] as $id => $sem_class) : ?>
                    <option value="<?= $id ?>"><?= htmlReady($sem_class['name']) ?></option>
                <? endforeach ?>
            </select>
        </label>
    </fieldset>

    <footer data-dialog-button>
        <?= Studip\Button::create(_("Erstellen")) ?>
    </footer>
</form>