Add checkbox and make sure to uncheck it after submission
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user