2015-11-18 16:51:47 +08:00
|
|
|
<div>
|
|
|
|
<div class="testEditTitle"> 第<%= exercise_question.question_number%>题.(<%= exercise_question.question_score %>分)<br />
|
|
|
|
<%= exercise_question.question_title %>
|
|
|
|
</div>
|
|
|
|
<%= link_to("", delete_exercise_question_exercise_index_path(:exercise_question => exercise_question.id),
|
|
|
|
method: :delete, :confirm => l(:text_are_you_sure), :remote => true, :class => "ur_icon_de") %>
|
|
|
|
<a class="ur_icon_edit" title="编辑" onclick="pollQuestionEdit(<%= exercise_question.id%>);"></a>
|
2015-11-19 09:13:46 +08:00
|
|
|
<a class='ur_icon_add' title='向下插入' id="add_single_<%=exercise_question.id%>" onclick="dismiss('single',<%=exercise_question.id%>);insert_SINGLE('single',<%=exercise_question.question_number%>,<%=exercise_question.id%>);"></a>
|
2015-11-18 16:51:47 +08:00
|
|
|
<div class="cl"></div>
|
|
|
|
<div>
|
2015-11-18 20:14:19 +08:00
|
|
|
<% exercise_question.exercise_standard_answers.reorder("created_at").each_with_index do |exercise_choice,index| %>
|
|
|
|
候选答案:<%= exercise_choice.answer_text%><br />
|
2015-11-18 16:51:47 +08:00
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 新增问题 -->
|
|
|
|
<div id="insert_new_poll_question_single_<%=exercise_question.id%>">
|
|
|
|
</div>
|