add adaptive-max-score html to lms view
This commit is contained in:
@@ -105,7 +105,7 @@ class StaffGrading
|
||||
|
||||
input = """
|
||||
<input type="radio" name="score-selection" id="#{id}" value="#{score}"/>
|
||||
"""
|
||||
""" # " fix broken parsing in emacs
|
||||
@score_selection_container.append(label + input)
|
||||
|
||||
# And now hook up an event handler again
|
||||
@@ -222,7 +222,7 @@ class StaffGrading
|
||||
|
||||
|
||||
# for now, just create an instance and load it...
|
||||
mock_backend = true
|
||||
mock_backend = false
|
||||
ajax_url = $('.staff-grading').data('ajax_url')
|
||||
backend = new StaffGradingBackend(ajax_url, mock_backend)
|
||||
|
||||
|
||||
@@ -37,13 +37,10 @@
|
||||
</div>
|
||||
|
||||
<div class="evaluation">
|
||||
|
||||
<textarea name="feedback" placeholder="Feedback for student..."
|
||||
class="feedback-area" cols="70" rows="10"></textarea>
|
||||
<p>
|
||||
<label for="correct-radio">Correct</label>
|
||||
<input type="radio" name="score-selection" id="correct-radio" value="1">
|
||||
<label for="incorrect-radio">Incorrect</label>
|
||||
<input type="radio" name="score-selection" id="incorrect-radio" value="0">
|
||||
<p class="score-selection-container">
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user