2017-01-20 15:00:46 +08:00
|
|
|
<% if @status == 0 %>
|
|
|
|
notice_box_redirect("<%= poll_index_path(:polls_group_id => @course.id,:polls_type => 'Course') %>", "提交成功!");
|
|
|
|
<% elsif @status == 1 %>
|
|
|
|
notice_box("您还有尚未作答的必答题目请完成后再提交!");
|
|
|
|
<% else %>
|
|
|
|
notice_box("发生未知错误,请检查您的网络。");
|
|
|
|
<% end %>
|