diff --git a/app/views/consultation/admin/book.php b/app/views/consultation/admin/book.php index 8f2db66c74adeeb4a75bb4eec4775fbd4a59798e..a5a4371bd31ad71808054d9e017b7b9919ed0bfb 100644 --- a/app/views/consultation/admin/book.php +++ b/app/views/consultation/admin/book.php @@ -1,3 +1,10 @@ +<?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>