修改进入问卷结果页面描述样式显示不正确的BUG

This commit is contained in:
sw 2015-03-07 17:20:33 +08:00
parent 3cac4336cd
commit b0897638d9
2 changed files with 2 additions and 6 deletions

View File

@ -4,9 +4,7 @@
<h1 class="ur_page_title">
<%= @poll.polls_name.empty? ? l(:label_poll_new) : @poll.polls_name %>
</h1>
<p class="ur_prefix_content">
<%= @poll.polls_description%>
</p>
<%= @poll.polls_description.nil? ? "" : @poll.polls_description.html_safe%>
</div>
<div class="ur_card">
<ol class="ur_questions">

View File

@ -33,9 +33,7 @@
<h1 class="ur_page_title">
<%= @poll.polls_name%>
</h1>
<p class="ur_prefix_content">
<%= @poll.polls_description.html_safe %>
</p>
<%= @poll.polls_description.nil? ? "" : @poll.polls_description.html_safe%>
</div>