只有课程里才用到了tag 云,
This commit is contained in:
parent
485208f3ab
commit
d80dffb31c
|
@ -1,7 +1,9 @@
|
||||||
|
<% if course %>
|
||||||
<span class="files_tag_icon" >
|
<span class="files_tag_icon" >
|
||||||
<a title="双击可编辑"
|
<a title="双击可编辑"
|
||||||
onclick="search_tag_attachment('<%= search_tag_attachment_course_files_path(course)%>','','<%= @q%>','<%= course.id%>');"
|
onclick="search_tag_attachment('<%= search_tag_attachment_course_files_path(course)%>','','<%= @q%>','<%= course.id%>');"
|
||||||
>全部</a></span>
|
>全部</a></span>
|
||||||
|
<% end %>
|
||||||
<% unless tag_list.nil?%>
|
<% unless tag_list.nil?%>
|
||||||
<% tag_list.each do |k,v|%>
|
<% tag_list.each do |k,v|%>
|
||||||
<% if tag_name && tag_name == k%>
|
<% if tag_name && tag_name == k%>
|
||||||
|
|
Loading…
Reference in New Issue