MDL-14945
[moodle-linuxchix.git] / mod / workshop / assessment_grading_form.html
blobb2d17aa9f477cd7fd504a2c6cb28e2d0b72e2903
1 <?php
2 if (!isset($assessment->teachercomment)) {
3 $assessment->teachercomment = '';
5 ?>
6 <form id="gradingform" action="assessments.php" method="post">
7 <fieldset class="invisiblefieldset">
8 <input type="hidden" name="action" value="updategrading" />
9 <input type="hidden" name="id" value="<?php echo $cm->id ?>" />
10 <input type="hidden" name="redirect" value="<?php echo $redirect ?>" />
11 <input type="hidden" name="aid" value="<?php echo $aid ?>" />
12 <div class="boxaligncenter">
13 <table cellpadding="5" border="1">
14 <tr valign="top">
15 <td align="right"><b><?php print_string("teacherscomment", "workshop") ?>:</b></td>
16 <td>
17 <textarea name="teachercomment" rows="5" cols="75"><?php echo $assessment->teachercomment; ?></textarea>
18 </td>
19 </tr>
20 <tr>
21 <td align="right">
22 <b><?php print_string("gradeforstudentsassessment", "workshop") ?></td>
23 <td>
24 <input type="text" name="gradinggrade" size="3" value="<?php p($assessment->gradinggrade) ?>" />%
25 </td>
26 </tr>
27 </table>
28 <input type="submit" value="<?php print_string("savemygrading", "workshop") ?>" />
29 </div>
30 </fieldset>
31 </form>