call user_content for quiz content on quiz stats page
Change-Id: If9bd36d297e2c4a95ba38577c83a1af30805fb5b Reviewed-on: https://gerrit.instructure.com/2529 Tested-by: Hudson <hudson@instructure.com> Reviewed-by: Brian Whitmer <brian@instructure.com>
This commit is contained in:
parent
01fa3bfff1
commit
9a2caed5c4
|
@ -12,8 +12,8 @@
|
|||
<div style="float: right;" style="width: 1px; height: 100px;"></div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="question_text">
|
||||
<%= question[:question_text] %>
|
||||
<div class="question_text user_content">
|
||||
<%= user_content(question[:question_text], @context.try(:asset_string), @quiz.try(:asset_string)) %>
|
||||
</div>
|
||||
<div class="question_details">
|
||||
<% if in_group %>
|
||||
|
@ -63,7 +63,7 @@
|
|||
<% question[:essay_responses].reverse.each do |response| %>
|
||||
<div class="essay_answer" style="padding-bottom: 5px;">
|
||||
<div class="user_content">
|
||||
<%= response[:text] %>
|
||||
<%= user_content(response[:text], @context.try(:asset_string), @quiz.try(:asset_string)) %>
|
||||
</div>
|
||||
<% if @quiz.graded? %>
|
||||
<div class="user_name" style="text-align: right; font-style: italic;">
|
||||
|
|
Loading…
Reference in New Issue