Commit d1b433db by Victor Shnayder

add adaptive-max-score html to lms view

parent a584f06b
...@@ -105,7 +105,7 @@ class StaffGrading ...@@ -105,7 +105,7 @@ class StaffGrading
input = """ input = """
<input type="radio" name="score-selection" id="#{id}" value="#{score}"/> <input type="radio" name="score-selection" id="#{id}" value="#{score}"/>
""" """ # " fix broken parsing in emacs
@score_selection_container.append(label + input) @score_selection_container.append(label + input)
# And now hook up an event handler again # And now hook up an event handler again
...@@ -222,7 +222,7 @@ class StaffGrading ...@@ -222,7 +222,7 @@ class StaffGrading
# for now, just create an instance and load it... # for now, just create an instance and load it...
mock_backend = true mock_backend = false
ajax_url = $('.staff-grading').data('ajax_url') ajax_url = $('.staff-grading').data('ajax_url')
backend = new StaffGradingBackend(ajax_url, mock_backend) backend = new StaffGradingBackend(ajax_url, mock_backend)
......
...@@ -37,13 +37,10 @@ ...@@ -37,13 +37,10 @@
</div> </div>
<div class="evaluation"> <div class="evaluation">
<textarea name="feedback" placeholder="Feedback for student..." <textarea name="feedback" placeholder="Feedback for student..."
class="feedback-area" cols="70" rows="10"></textarea> class="feedback-area" cols="70" rows="10"></textarea>
<p> <p class="score-selection-container">
<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> </p>
</div> </div>
......
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