增加新建问卷按钮功能

This commit is contained in:
sw 2015-01-12 17:30:33 +08:00
parent f54cf53663
commit 450c4b203d
3 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,7 @@
<h2>所有问卷
<span><%= @polls.count%></span>
</h2>
<a href="#" class="newbtn">新建问卷</a>
<%= link_to l(:label_new_poll), new_poll_path(:polls_type => "Course",:polls_group_id => @course.id), :class => "newbtn" %>
</div>
<div class="cl"></div>
<div class="polls_list">

View File

@ -0,0 +1 @@
111

View File

@ -2243,4 +2243,5 @@ zh:
label_file_exist: 该作品中有重复命名文件,请通过文件名学号和姓名信息进入该作业详细界面手动下载
label_poll_new: 未命名问卷
label_poll: 问卷调查
label_new_poll: 新建问卷