diff --git a/app/views/questionnaire/context.php b/app/views/questionnaire/context.php index 3b601c11a615d6ec85487e8f25d91204965344e8..3237101c851451812f9538ea5bcc7be71f5a3279 100644 --- a/app/views/questionnaire/context.php +++ b/app/views/questionnaire/context.php @@ -6,6 +6,10 @@ <fieldset> <legend><?= _("URL zum Fragebogen") ?></legend> <input type="text" aria-label="<?= _("URL zum Fragebogen (nur lesbar)") ?>" readonly value="<?= htmlReady($GLOBALS['ABSOLUTE_URI_STUDIP']."dispatch.php/questionnaire/answer/".$questionnaire->getId()) ?>"> + <a href="<?= htmlReady($GLOBALS['ABSOLUTE_URI_STUDIP'] . "dispatch.php/questionnaire/answer/" . $questionnaire->id) ?>" + data-qr-code title="<?= _('QR-Code zum Link anzeigen') ?>"> + <?= Icon::create('code-qr')->asImg(['class' => 'text-bottom']) ?> + </a> </fieldset> <fieldset> <legend><?= _("Freigaben bearbeiten") ?></legend>