Add checkbox and make sure to uncheck it after submission

This commit is contained in:
Diana Huang
2013-02-07 15:33:38 -05:00
parent f3bb429915
commit d3d3a03c61
2 changed files with 4 additions and 1 deletions

View File

@@ -328,6 +328,7 @@ class @StaffGrading
@error_container.html(@error_msg)
@message_container.toggle(@message != "")
@error_container.toggle(@error_msg != "")
@flag_submission_checkbox.prop('checked', false)
# only show the grading elements when we are not in list view or the state

View File

@@ -78,7 +78,9 @@
<h3>Written Feedback</h3>
<textarea name="feedback" placeholder="Feedback for student (optional)"
class="feedback-area" cols="70" ></textarea>
</div>
<p>
Flag as inappropriate content <input class="flag-checkbox" type="checkbox" />
</p>
<div class="submission">