aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/statusgroups/delete.php
blob: 20dc80a7a443d0dd3a765a267f1496e206c95aa1 (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
<?php
/**
 * @var Admin_StatusgroupsController $controller
 * @var Statusgruppen $group
 * @var User $user
 */
?>
<form method="post" action="<?= $controller->url_for("admin/statusgroups/delete/{$group->id}/{$user->user_id}") ?>" class="default">
    <?= CSRFProtection::tokenTag() ?>
    <fieldset>
        <legend>
            <?= _('Nutzer aus Gruppe austragen') ?>
        </legend>

        <section>
            <?= sprintf(_('%s wirklich aus %s austragen?'), htmlReady($user->getFullName()), htmlReady($group->name)) ?>
        </section>
    </fieldset>

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