|
|
|
@ -56,7 +56,10 @@
|
|
|
|
|
<!--li><%#= link_to poll_name, poll_result_poll_path(poll.id), :class => "polls_title polls_title_st fl c_dblue" %></li>
|
|
|
|
|
<li class="pollsbtn_tip fl ml5">已答</li-->
|
|
|
|
|
<%#else%>
|
|
|
|
|
<%= link_to (index.to_i+1).to_s+". "+exercise_name, exercise_path(exercise.id), :class => "polls_title polls_title_st fl c_dblue"%>
|
|
|
|
|
<%= link_to (index.to_i+1).to_s+". "+exercise_name, exercise_path(exercise.id), :class => "polls_title polls_title_st fl c_dblue"%>
|
|
|
|
|
<% if exercise.end_time <= Time.now && has_commit_exercise?(exercise.id, User.current.id) %>
|
|
|
|
|
<li class="pollsbtn_tip fl ml5">已答</li>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%#end%>
|
|
|
|
|
<% end%>
|
|
|
|
|
<li class="polls_date fr mr10">截止时间:<%= format_time(exercise.end_time.to_s)%></li>
|
|
|
|
|