编辑器(未改动)

This commit is contained in:
huang 2015-06-15 10:34:23 +08:00
parent 06009934d8
commit b2f7b0f670
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<% if authorize_for('news', 'edit') %>
<div id="edit-news" style="display:none;">
<%= labelled_form_for :news, @news, :url => news_path(@news),
:html => { :id => 'news-form', :multipart => true, :method => :put } do |f| %>
:html => { :id => 'news-form', :multipart => true, :method => :put } do |f| %>
<%= render :partial => 'project_form', :locals => { :f => f, :is_new => false } %>
<% end %>
<div id="preview" class="wiki"></div>