学生查看问卷调查结果
This commit is contained in:
parent
096320d04c
commit
1e13279440
|
@ -58,4 +58,11 @@
|
||||||
<%end%>
|
<%end%>
|
||||||
<% end%>
|
<% end%>
|
||||||
<li class="polls_date fr mr10"><%= format_date poll.created_at.to_date%></li>
|
<li class="polls_date fr mr10"><%= format_date poll.created_at.to_date%></li>
|
||||||
|
<% if poll.show_result == 1 %>
|
||||||
|
<% if has_commit%>
|
||||||
|
<li><%= link_to l(:label_statistical_results), statistics_result_poll_path(poll.id), :class => "pollsbtn fr mr10"%></li>
|
||||||
|
<%else%>
|
||||||
|
<li class="pollsbtn fr mr10 pollsbtn_grey">统计结果</li>
|
||||||
|
<%end%>
|
||||||
|
<% end %>
|
||||||
<% end%>
|
<% end%>
|
|
@ -15,7 +15,7 @@
|
||||||
是否确定发布该问卷?
|
是否确定发布该问卷?
|
||||||
</p>
|
</p>
|
||||||
<div class="polls_btn_box">
|
<div class="polls_btn_box">
|
||||||
<%= link_to "确 定",publish_poll_poll_path(poll.id,:is_remote => is_remote), :class => "upload_btn", :onclick => "clickCanel();" %>
|
<%= link_to "确 定",publish_poll_poll_path(poll.id,:is_remote => is_remote,:show_result => show_result), :class => "upload_btn", :onclick => "clickCanel();" %>
|
||||||
<a class="upload_btn upload_btn_grey" onclick="clickCanel();">
|
<a class="upload_btn upload_btn_grey" onclick="clickCanel();">
|
||||||
取 消
|
取 消
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue