Skip to content

Commit

Permalink
lml#340: Show free responses in student feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
navilan committed May 20, 2014
1 parent 1a2f137 commit 437adeb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app/views/student_exercises/feedback.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@
<%= render 'exercises/exercise_blurb', :exercise => exercise,
:show_choices => true %>

<%= render :partial => "student_answer", :locals => { :student_exercise => @student_exercise } %>
<%= render :partial => "student_answer", :locals => { :student_exercise => @student_exercise } %>

<%= render :partial => "free_response_list",
:layout => 'layouts/section',
:locals => { :student_exercise => @student_exercise,
:section_name => 'Your free responses',
:classes => 'no_bar',
:collapsed => true} %>

<% if learning_condition.show_correctness_feedback?(@student_exercise) %>
<%= render :partial => "correctness_feedback", :locals => { :student_exercise => @student_exercise } %>
Expand Down

0 comments on commit 437adeb

Please sign in to comment.