16 lines
1.1 KiB
Plaintext
16 lines
1.1 KiB
Plaintext
|
<p class="mt10 mb10">
|
||
|
<span class="questionLabel" id="poll_question_number_<%=poll_question.id %>"><%= poll_question.question_number%></span>
|
||
|
<%if poll_question.is_necessary == 1%>
|
||
|
<span class="c_red questionLabel ml5" title="必答">*</span>
|
||
|
<%end%>
|
||
|
</p>
|
||
|
<a class="poll-up mb8" title="上移"></a>
|
||
|
<a class="poll-down mb8" title="下移"></a>
|
||
|
<a href="javascript:void(0);" class="poll-add mb8"></a>
|
||
|
<ul class="poll-add-menu fontGrey3">
|
||
|
<li><a href="javascript:void(0);" onclick=" dismiss('<%=type %>',<%=poll_question.id%>);insert_MC('<%=type %>',<%=poll_question.id%>);">单选题</a></li>
|
||
|
<li><a href="javascript:void(0);" onclick=" dismiss('<%=type %>',<%=poll_question.id%>);insert_MCQ('<%=type %>',<%=poll_question.id%>);">多选题</a></li>
|
||
|
<li><a href="javascript:void(0);" onclick=" dismiss('<%=type %>',<%=poll_question.id%>);insert_SINGLE('<%=type %>',<%=poll_question.id%>);">主观题</a></li>
|
||
|
</ul>
|
||
|
<%= link_to("", delete_poll_question_poll_index_path(:poll_question => poll_question.id),
|
||
|
method: :delete, :confirm => l(:text_are_you_sure), :remote => true, :class => "poll-delete", :title => "删除") %>
|