|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
<span class="badge badge-pill badge-info excellent-badge" style="<%= subject.excellent? ? '' : 'display:none' %>">金课</span>
|
|
|
|
|
</td>
|
|
|
|
|
<td><%= display_text subject.repertoire&.name %></td>
|
|
|
|
|
<td><%= display_text subject.status == 2 ? "已发布" : "未发布" %></td>
|
|
|
|
|
<td><%= display_text subject.public == 2 ? "已公开" : ((subject.public == 1 && subject.status == 2) ? "审核中" : "未发布") %></td>
|
|
|
|
|
<td>
|
|
|
|
|
<%= select_tag(:sub_disciplines, options_for_select(@sub_disciplines, subject.sub_disciplines.pluck(:id)),multiple:true,class:"form-control subject-setting-form",data:{id:subject.id},id:"tags-chosen-#{subject.id}") %>
|
|
|
|
|
</td>
|
|
|
|
|