diff --git a/grade/grading/form/guide/templates/grades/grader/gradingpanel.mustache b/grade/grading/form/guide/templates/grades/grader/gradingpanel.mustache index 7d816e66af1..8b5fc972353 100644 --- a/grade/grading/form/guide/templates/grades/grader/gradingpanel.mustache +++ b/grade/grading/form/guide/templates/grades/grader/gradingpanel.mustache @@ -61,19 +61,35 @@
{{#criterion}} -
-
- {{name}} -
+ + +
{{{description}}} @@ -83,52 +99,59 @@ {{/descriptionmarkers}}
-
- - - {{#str}}grade_help, gradingform_guide{{/str}} -
-
- -
- - {{#hascomments}} - - {{/hascomments}} +
+
+ + + {{#str}}grade_help, gradingform_guide{{/str}}
- {{#hascomments}} -
-
-
- {{#comments}} - - {{/comments}} +
+ +
+ + {{#hascomments}} + + {{/hascomments}} +
+ {{#hascomments}} +
+
+
{{#str}}comments, gradingform_guide{{/str}}
+
+ {{#comments}} + + {{/comments}} +
-
- {{/hascomments}} - {{#str}}grade_help, gradingform_guide{{/str}} + {{/hascomments}} + {{#str}}grade_help, gradingform_guide{{/str}} +
{{/criterion}} {{#js}} -require(['gradingform_guide/grades/grader/gradingpanel/comments'], function(Comments) { +require(['gradingform_guide/grades/grader/gradingpanel/comments', 'core/auto_rows'], function(Comments, AutoRows) { Comments.init('gradingform_guide-{{uniqid}}'); + AutoRows.init(document.getElementById('gradingform_guide-{{uniqid}}')); }); {{/js}} diff --git a/grade/grading/form/rubric/templates/grades/grader/gradingpanel.mustache b/grade/grading/form/rubric/templates/grades/grader/gradingpanel.mustache index 94845f15866..a3d31cbda0d 100644 --- a/grade/grading/form/rubric/templates/grades/grader/gradingpanel.mustache +++ b/grade/grading/form/rubric/templates/grades/grader/gradingpanel.mustache @@ -57,49 +57,71 @@
{{#criteria}} -
-
{{{description}}}
- -
-
- {{#levels}} -
- -