Skip to content

Commit

Permalink
Use stash to access actingConfirmation variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
somiaj committed Dec 13, 2024
1 parent b005d66 commit 129631e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/ContentGenerator/GatewayQuiz.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@
% last;
% }
% # Get confirmation before creating new test version or working on an open test for another user.
% if ($actingConfirmation) {
% if (stash->{actingConfirmation}) {
<div class="alert alert-danger mb-2">
<div class="mb-2"><%= $actingConfirmation =%></div>
<div class="mb-2"><%= stash->{actingConfirmation} =%></div>
<div>
<%= link_to $actingConfirmationButton => $c->systemLink(
<%= link_to stash->{actingConfirmationButton} => $c->systemLink(
url_for,
params => { effectiveUser => $effectiveUserID, user => $userID, submit_for_student_ok => 1 }
),
Expand Down

0 comments on commit 129631e

Please sign in to comment.