|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
<% attachmenttypes = @course.attachmenttypes %>
|
|
|
|
|
<% sufixtypes = @course.contenttypes %>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<span class="borad-title"><%= t(:label_user_course) %>资源共享区</span>
|
|
|
|
|
|
|
|
|
|
<div class="content-title-top">
|
|
|
|
@ -49,7 +50,8 @@
|
|
|
|
|
<% if attachmenttypes.any? %>
|
|
|
|
|
|
|
|
|
|
<label for="attachment_browse_label"><%= l(:attachment_browse) %></label>
|
|
|
|
|
<%= select_tag "attachment_browse", content_tag(:option, l(:attachment_all), :value => '0') +options_from_collection_for_select(attachmenttypes, "id", "typeName"),
|
|
|
|
|
<%= select_tag "attachment_browse", content_tag(:option, l(:attachment_all), :value => '0' ) +options_from_collection_for_select(attachmenttypes, "id", "typeName", params[:type]),
|
|
|
|
|
|
|
|
|
|
:onchange => "course_attachmenttypes_searchex(this.value)" %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% if sufixtypes.any? %>
|
|
|
|
|