|
|
@ -1,10 +1,13 @@
|
|
|
|
<div class="ur_question_item radio ur_editor02">
|
|
|
|
<div class="ur_question_item radio ur_editor02">
|
|
|
|
<div class="ur_title">
|
|
|
|
<div class="ur_title">
|
|
|
|
<span class="title_index">
|
|
|
|
<span class="title_index">
|
|
|
|
第<%= question_index%>题:
|
|
|
|
第<%= poll_question.question_number%>题:
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<%= poll_questions.question_title%>
|
|
|
|
<%= poll_question.question_title %>
|
|
|
|
<span class="ur_required" title="必答">*</span>
|
|
|
|
<%if poll_question.is_necessary == 1%>
|
|
|
|
|
|
|
|
<span class="ur_required" title="必答">*</span>
|
|
|
|
|
|
|
|
<%end%>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a href="#" class="ur_icon_de" title="删除"></a>
|
|
|
|
<a href="#" class="ur_icon_de" title="删除"></a>
|
|
|
|
<a href="#" class="ur_icon_edit" title="编辑"></a>
|
|
|
|
<a href="#" class="ur_icon_edit" title="编辑"></a>
|
|
|
@ -12,24 +15,16 @@
|
|
|
|
<div class="ur_inputs">
|
|
|
|
<div class="ur_inputs">
|
|
|
|
<table class="ur_table" >
|
|
|
|
<table class="ur_table" >
|
|
|
|
<tbody>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<% poll_question.poll_answers.reorder("answer_position").each do |poll_answer| %>
|
|
|
|
<td>
|
|
|
|
<tr>
|
|
|
|
<label >
|
|
|
|
<td>
|
|
|
|
<input class="ur_radio" type="radio" value="新建选项" >
|
|
|
|
<label>
|
|
|
|
新建选项
|
|
|
|
<input class="ur_radio" type="radio" name="<%= poll_question %>" value="<%= poll_answer.answer_text%>" >
|
|
|
|
</label>
|
|
|
|
<%= poll_answer.answer_text%>
|
|
|
|
</td>
|
|
|
|
</label>
|
|
|
|
</tr>
|
|
|
|
</td>
|
|
|
|
<tr >
|
|
|
|
</tr>
|
|
|
|
<td>
|
|
|
|
<% end %>
|
|
|
|
<label ><input class="ur_radio" type="radio" value="新建选项" > 新建选项</label>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
<label ><input class="ur_radio" type="radio" value="新建选项" > 新建选项</label>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|