aboutsummaryrefslogtreecommitdiff
path: root/app/views/course/statusgroups/_askcancel_members.php
blob: 7c03836f830d0b37c62834e5d147dc0dbb98c7ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<form class="default" action="<?= $controller->url_for('course/statusgroups/batch_cancel_members') ?>" method="post">
    <section>
        <?= sprintf(ngettext('Soll %u Person wirklich aus %s ausgetragen werden?',
            'Sollen %u Personen wirklich aus %s ausgetragen werden?',
            count($members)), count($members), htmlReady($course_title)) ?>
        <?php foreach ($members as $m) : ?>
            <input type="hidden" name="members[]" value="<?= $m ?>"/>
        <?php endforeach ?>
    </section>
    <?= CSRFProtection::tokenTag() ?>
    <footer data-dialog-button>
        <?= Studip\Button::createAccept(_('Austragen'), 'submit') ?>
        <?= Studip\LinkButton::createCancel(_('Abbrechen'),
            $controller->url_for('course/statusgroups')) ?>
    </footer>
</form>