27 lines
852 B
Plaintext
27 lines
852 B
Plaintext
<div>
|
|
<div class="testEditTitle">
|
|
第<%= poll_question.question_number%>题:
|
|
<%= poll_question.question_title %>
|
|
<span class="fontBlue">[单选题]</span>
|
|
<%if poll_question.is_necessary == 1%>
|
|
<span class="ur_required" title="必答">*</span>
|
|
<%end%>
|
|
</div>
|
|
<div class="cl"></div>
|
|
<div class="ur_inputs">
|
|
<table class="ur_table" style="width:675px;">
|
|
<tbody>
|
|
<% poll_question.poll_votes.where("user_id = #{User.current.id}").each do |answer|%>
|
|
<tr>
|
|
<td>
|
|
<p class="ml20 break_word">
|
|
<%= answer.poll_answer.answer_text == "" ? (answer.vote_text.nil? ? "其他" : answer.vote_text) : answer.poll_answer.answer_text %>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
<% end%>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div><!--单选题 end--> |