MDL-71570 core_grades: Avoid using deprecated string in grade templates
This commit is contained in:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user