diff --git a/templates/ContentGenerator/Instructor/ProblemGrader.html.ep b/templates/ContentGenerator/Instructor/ProblemGrader.html.ep index 30b857c915..c4f77e7264 100644 --- a/templates/ContentGenerator/Instructor/ProblemGrader.html.ep +++ b/templates/ContentGenerator/Instructor/ProblemGrader.html.ep @@ -228,9 +228,9 @@ % my $thisStepSize = $useUserValue ? points_stepsize($problemValue) : $stepSize; % if ($ce->{problemGraderScore} eq 'Point') { - % param("$userID.$versionID.score", wwRound(0, $_->{problem}->status * 100)); - <%= hidden_field "$userID.$versionID.score" => 0, - id => "$userID.$versionID.score" %> + <%= hidden_field + "$userID.$versionID.score" => wwRound(0, $_->{problem}->status * 100), + id => "$userID.$versionID.score" %> % } % param("$userID.$versionID.points", undef); <%= number_field "$userID.$versionID.points" => round_nearest_stepsize(