|
|
@ -2,7 +2,8 @@
|
|
|
|
<thead class="thead-light">
|
|
|
|
<thead class="thead-light">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th width="6%">序号</th>
|
|
|
|
<th width="6%">序号</th>
|
|
|
|
<th width="54%" class="text-left">知识点</th>
|
|
|
|
<th width="42%" class="text-left">知识点</th>
|
|
|
|
|
|
|
|
<th width="12%">创建者</th>
|
|
|
|
<th width="8%">实践课程</th>
|
|
|
|
<th width="8%">实践课程</th>
|
|
|
|
<th width="8%">实训</th>
|
|
|
|
<th width="8%">实训</th>
|
|
|
|
<th width="8%">题库</th>
|
|
|
|
<th width="8%">题库</th>
|
|
|
@ -15,6 +16,13 @@
|
|
|
|
<tr class="tag-discipline-item tag-discipline-item-<%= tag.id %>">
|
|
|
|
<tr class="tag-discipline-item tag-discipline-item-<%= tag.id %>">
|
|
|
|
<td><%= index + 1 %></td>
|
|
|
|
<td><%= index + 1 %></td>
|
|
|
|
<td class="text-left"><%= tag.name %></td>
|
|
|
|
<td class="text-left"><%= tag.name %></td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
<% if tag.user.present? %>
|
|
|
|
|
|
|
|
<%= link_to tag.user.real_name, user_path(tag.user), :target => "_blank" %>
|
|
|
|
|
|
|
|
<% else %>
|
|
|
|
|
|
|
|
--
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<% disabled = !(tag.sub_discipline&.subject && tag.discipline&.subject) %>
|
|
|
|
<% disabled = !(tag.sub_discipline&.subject && tag.discipline&.subject) %>
|
|
|
|
<%= check_box_tag :subject,!tag.subject,tag.subject,disabled:disabled,remote:true,data:{id:tag.id},class:"tag-discipline-source-form" %>
|
|
|
|
<%= check_box_tag :subject,!tag.subject,tag.subject,disabled:disabled,remote:true,data:{id:tag.id},class:"tag-discipline-source-form" %>
|
|
|
|