Commit d3d3a03c by Diana Huang

Add checkbox and make sure to uncheck it after submission

parent f3bb4299
...@@ -328,6 +328,7 @@ class @StaffGrading ...@@ -328,6 +328,7 @@ class @StaffGrading
@error_container.html(@error_msg) @error_container.html(@error_msg)
@message_container.toggle(@message != "") @message_container.toggle(@message != "")
@error_container.toggle(@error_msg != "") @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 # only show the grading elements when we are not in list view or the state
......
...@@ -78,7 +78,9 @@ ...@@ -78,7 +78,9 @@
<h3>Written Feedback</h3> <h3>Written Feedback</h3>
<textarea name="feedback" placeholder="Feedback for student (optional)" <textarea name="feedback" placeholder="Feedback for student (optional)"
class="feedback-area" cols="70" ></textarea> class="feedback-area" cols="70" ></textarea>
</div> <p>
Flag as inappropriate content <input class="flag-checkbox" type="checkbox" />
</p>
<div class="submission"> <div class="submission">
......
Markdown is supported
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