|
|
|
@ -69,6 +69,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pbt5">
|
|
|
|
|
<img src="http://47.96.87.25:48080/api/attachments/368984" alt="电脑的电路图" title="电脑的电路图">
|
|
|
|
|
<img class="myavatar avatar-48" alt="udasker_picture" src="http://images.udask.cn/uploaders/user/picture/2/2_udasker.jpg?v=1556452947">
|
|
|
|
|
<% q_markdown = to_markdown(q.question_title) %>
|
|
|
|
|
<% if q.question_type == 5 %>
|
|
|
|
|
<% q_markdown_name = to_markdown(q.shixun_name) %>
|
|
|
|
@ -85,14 +86,16 @@
|
|
|
|
|
<% q.exercise_choices.each_with_index do |s,index| %>
|
|
|
|
|
<p class="pbt5">
|
|
|
|
|
<span class="choose-radio"></span>
|
|
|
|
|
<span class="mr15"><%= convert_to_char((index+1).to_s)%></span><span class="inline-block"><%= to_markdown(s.choice_text) %></span>
|
|
|
|
|
<span class="mr15"><%= convert_to_char((index+1).to_s)%></span>
|
|
|
|
|
<span class="inline-block"><%= to_markdown(s.choice_text) %></span>
|
|
|
|
|
</p>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% elsif q.question_type == 1 %>
|
|
|
|
|
<% q.exercise_choices.each_with_index do |s,index| %>
|
|
|
|
|
<p class="pbt5">
|
|
|
|
|
<span class="choose-checkbox"></span>
|
|
|
|
|
<span class="mr20"><%= convert_to_char((index+1).to_s)%></span><span class="inline-block"><%= to_markdown(s.choice_text) %></span>
|
|
|
|
|
<span class="mr20"><%= convert_to_char((index+1).to_s)%></span>
|
|
|
|
|
<span class="inline-block"><%= to_markdown(s.choice_text) %></span>
|
|
|
|
|
</p>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% elsif q.question_type == 2 %>
|
|
|
|
|