Skip to content
Snippets Groups Projects
Commit bee4cb14 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

show confirmation text on admin booking page as well, fixes #2991

Closes #2991

Merge request studip/studip!2041
parent 2b15768f
No related branches found
No related tags found
No related merge requests found
<?php
/**
* @var Consultation_AdminController $controller
* @var ConsultationSlot $slot
* @var int $page
*/
?>
<form action="<?= $controller->book($slot->block, $slot, $page) ?>" method="post" class="default">
<?= CSRFProtection::tokenTag() ?>
......@@ -31,10 +38,19 @@
])->withButton() ?>
</label>
<? if ($slot->block->require_reason !== 'no'): ?>
<label>
<?= _('Grund') ?>
<textarea name="reason"></textarea>
</label>
<? endif; ?>
<? if ($slot->block->confirmation_text): ?>
<label>
<?= _('Bitte lesen Sie sich den folgenden Hinweis durch:') ?>
<blockquote><?= htmlReady($slot->block->confirmation_text) ?></blockquote>
</label>
<? endif; ?>
</fieldset>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment