2015-01-13 18:21:46 +08:00
|
|
|
<div class="ur_question_item radio ur_editor02">
|
|
|
|
<div class="ur_title">
|
2015-01-13 20:34:44 +08:00
|
|
|
<span class="title_index">
|
2015-01-14 16:15:33 +08:00
|
|
|
第<%= poll_question.question_number%>题:
|
2015-01-13 20:34:44 +08:00
|
|
|
</span>
|
2015-01-14 16:15:33 +08:00
|
|
|
<%= poll_question.question_title %>
|
|
|
|
<%if poll_question.is_necessary == 1%>
|
|
|
|
<span class="ur_required" title="必答">*</span>
|
|
|
|
<%end%>
|
|
|
|
|
2015-01-13 18:21:46 +08:00
|
|
|
</div>
|
2015-01-15 16:44:35 +08:00
|
|
|
<a class="ur_icon_de" title="删除" onclick=""></a>
|
|
|
|
<a class="ur_icon_edit" title="编辑" onclick="pollQuestionEdit(<%= poll_question.id%>);"></a>
|
2015-01-13 18:21:46 +08:00
|
|
|
<div class="cl"></div>
|
|
|
|
<div class="ur_inputs">
|
|
|
|
<table class="ur_table" >
|
|
|
|
<tbody>
|
2015-01-14 16:15:33 +08:00
|
|
|
<% poll_question.poll_answers.reorder("answer_position").each do |poll_answer| %>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<label>
|
|
|
|
<input class="ur_radio" type="radio" name="<%= poll_question %>" value="<%= poll_answer.answer_text%>" >
|
|
|
|
<%= poll_answer.answer_text%>
|
|
|
|
</label>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
2015-01-13 18:21:46 +08:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div><!--单选题显示 end-->
|