2015-06-17 17:01:03 +08:00
|
|
|
<%= javascript_include_tag "/assets/kindeditor/kindeditor",'/assets/kindeditor/pasteimg' %>
|
2015-04-28 10:31:55 +08:00
|
|
|
<div class="project_r_h">
|
|
|
|
<h2 class="project_h2"><%= l(:label_course_news) %></h2>
|
|
|
|
</div>
|
|
|
|
<div id="edit-news">
|
|
|
|
<%= labelled_form_for :news, @news, :url => news_path(@news),
|
|
|
|
:html => { :id => 'news-form', :multipart => true, :method => :put } do |f| %>
|
|
|
|
<%= render :partial => 'course_form', :locals => { :f => f, :is_new => false } %>
|
|
|
|
<% end %>
|
|
|
|
<div id="preview" class="wiki"></div>
|
2015-06-17 17:01:03 +08:00
|
|
|
</div>
|