blob: ee67f80fa323ecd4ac3e8238bd8ebe427141a97f (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
<form action="<?= $controller->cancel_slot($slot->block, $slot, $page) ?>" method="post" class="default">
<?= CSRFProtection::tokenTag() ?>
<fieldset>
<legend><?= _('Termin absagen') ?></legend>
<label>
<?= _('Termin' ) ?><br>
<?= $this->render_partial('consultation/slot-details.php', compact('slot')) ?>
</label>
<label>
<?= _('Ort') ?><br>
<?= htmlready($slot->block->room) ?>
</label>
<? if (count($slot->bookings) > 1): ?>
<div>
<?= _('Den folgenden Personen absagen') ?><br>
<ul class="list-unstyled">
<? foreach ($slot->bookings as $booking): ?>
<li>
<label class="undecorated">
<input type="checkbox" name="ids[]" checked
value="<?= htmlReady($booking->id) ?>">
<?= htmlReady($booking->user->getFullName()) ?>
</label>
</li>
<? endforeach; ?>
</ul>
</div>
<br>
<? endif; ?>
<label>
<?= _('Grund der Absage') ?>
<textarea name="reason"></textarea>
</label>
</fieldset>
<footer data-dialog-button>
<?= Studip\Button::createAccept(_('Termin absagen')) ?>
<?= Studip\LinkButton::createCancel(
_('Abbrechen'),
$controller->indexURL($page, "#block-{$slot->block_id}")
) ?>
</footer>
</form>
|