<%= content_for(:header_tags) do %> <%= import_ke(enable_at: false, prettify: false) %> <% end %>

课程信息

<%= labelled_form_for @syllabus, :url =>syllabus_path(@syllabus), :html => {:nhname=>'form',:multipart => true, :id => 'syllabus-form'} do |f| %>
<%= text_area :quote,:quote,:style => 'display:none' %> <%= hidden_field_tag :asset_id,params[:asset_id],:required => false,:style => 'display:none' %> <%= f.kindeditor :description, :editor_id => 'syllabus_description_editor', :owner_id => @syllabus.nil? ? 0: @syllabus.id, :owner_type => OwnerTypeHelper::SYLLABUS, :width => '100%', :height => 300, :minHeight=>300, :class => 'talk_text fl', :input_html => { :id => 'syllabus_content', :class => 'talk_text fl', :maxlength => 5000 } %>

<%= render :partial => 'attachments/form_course', :locals => {:container => @syllabus, :isReply => false} %>
保存 取消
<% end %>