aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/courses/notice.php
blob: 03571ca5a7ec0090e1435d0bd561aaed2f20a512 (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
<?php
/**
 * @var Admin_CoursesController $controller
 * @var Course $course
 * @var string $notice
 */
?>
<form action="<?= $controller->notice($course) ?>" method="post" data-dialog class="default">
    <fieldset>
        <legend>
            <?= sprintf(_('Notiz für "%s"'), htmlReady($course->getFullName())) ?>
        </legend>

        <label>
            <?= _('Notiz') ?>
            <textarea name="notice"><?= htmlReady($notice) ?></textarea>
        </label>
    </fieldset>

    <footer data-dialog-button>
        <?= Studip\Button::createAccept(_('Speichern')) ?>
        <?= Studip\LinkButton::createCancel(
            _('Abbrechen'),
            URLHelper::getLink("dispatch.php/admin/course/index#course-{$course->id}")
        ) ?>
    </footer>
</form>