<%= stylesheet_link_tag '/editormd/css/editormd','/editormd/css/editormd.min.css' %> <%= javascript_include_tag '/editormd/lib/marked.min.js','/editormd/lib/prettify.min.js','/editormd/lib/raphael.min.js','/editormd/lib/underscore.min.js','/editormd/lib/sequence-diagram.min.js', '/editormd/lib/flowchart.min.js','/editormd/lib/jquery.flowchart.min.js','/editormd/editormd.js'%>
<% if !@subject.description.blank? || @is_member %>

简介 <% if @is_member %> <% end %>

<% end %>
<%= render :partial => "subjects/paths_list" %>
<% if @is_member %>
<% if @stages.count == 0 %> <%= form_for('', :url => {:controller => 'stages', :action => 'create', :subject => @subject.id}, :method => "post", :html => {:id => 'new_stage_form'}) do |f| %>

第1部分

章节名称

*
必填项

描述

选择实训 选择实训后,在页面上通过拖拽进行排序调整

保存

<% end %> <% end %>
<% if @stages.count > 0 %>
+点击新建阶段(选择1至多个实训项目,组成一个阶段)
<% end %> <% end %>

课程须知 <% if @is_member %> <% end %>

<% if @challenge_tags.size > 0 %> <% user_get_tags = user_get_tags Challenge.where(:shixun_id => @subject.shixuns.where(:status => 2).pluck(:id)).pluck(:id) %> <%= render :partial => "challenges/challenge_tags", :locals => {:challenge_tags => @challenge_tags, :user_get_tags => user_get_tags} %> <% end %> <% if @subject.status == 2 && @subject.stage_shixuns_count > 0 %>

我的进展<%= "#{@subject.my_subject_score} / #{@subject.subject_shixun_score}" %>

已学 <%= @subject.my_subject_progress %>%

<% end %>
<%= render :partial => "subject_members" %>
<% if @admin %>
+ 添加合作者
<% end %>