Skip to content

Commit

Permalink
MDL-67541 core_grades: Add max and min grade to mustache.
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyatregubov committed Sep 12, 2024
1 parent 3477082 commit 912da0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grade/templates/grades/grader/gradingpanel/point.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<form>
<div class="mb-3">
<label for="core_grades-grade-{{uniqid}}">{{#str}}gradenoun, moodle{{/str}}</label>
<input class="form-control" type="number" name="grade" value="{{grade}}" id="core_grades-grade-{{uniqid}}" aria-describedby="core_grades-help-{{uniqid}}">
<input class="form-control" type="number" name="grade" value="{{grade}}" id="core_grades-grade-{{uniqid}}" aria-describedby="core_grades-help-{{uniqid}}" min="0" max="{{maxgrade}} " step="any">
<small id="core_grades-help-{{uniqid}}" class="form-text text-muted">{{#str}}grade_help, core_grades{{/str}}</small>
</div>
</form>

0 comments on commit 912da0c

Please sign in to comment.