aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/role/add.php
blob: e03c8c440594ea9030f0169c08657b8be65feea1 (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->url_for('admin/role/add') ?>" method="post" class="default">
    <?= CSRFProtection::tokenTag() ?>
    <input type="hidden" name="studip_ticket" value="<?= get_ticket() ?>">

    <fieldset>
        <legend>
            <?= _('Neue Rolle anlegen') ?>
        </legend>

        <label for="name">
            <?= _('Name') ?>:
            <input type="text" name="name" id="name">
        </label>
    </fieldset>

    <footer data-dialog-button>
        <?= Studip\Button::createAccept(_('Anlegen'), 'createrolebtn') ?>
        <?= Studip\LinkButton::createCancel(_('Abbrechen'),
                                            $controller->url_for('admin/role')) ?>
    </footer>
</form>