Commit 1aaa3ca8 authored by Mihail Geshoski's avatar Mihail Geshoski
Browse files

MDL-71570 core_grades: Avoid using deprecated string in grade templates

parent ad8b3d2b
......@@ -28,7 +28,7 @@
}}
<form>
<div class="form-group">
<label for="core_grades-grade-{{uniqid}}">{{#str}}grade, moodle{{/str}}</label>
<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}}">
<small id="core_grades-help-{{uniqid}}" class="form-text text-muted">{{#str}}grade_help, core_grades{{/str}}</small>
</div>
......
......@@ -30,7 +30,7 @@
}}
<form>
<div class="form-group">
<label for="core_grades-grade-{{uniqid}}">{{#str}}grade, moodle{{/str}}</label>
<label for="core_grades-grade-{{uniqid}}">{{#str}}gradenoun, moodle{{/str}}</label>
<select class="form-control" name="grade" id="core_grades-grade-{{uniqid}}" aria-describedby="core_grades-help-{{uniqid}}">
<option value="-1">{{#str}} nograde, moodle{{/str}}</option>
{{#options}}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment