wiki编辑页面更新

This commit is contained in:
Tim 2016-07-06 15:59:49 +08:00
parent 0b764d0dfc
commit b6716e542a
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
<%= form_for @content, :as => :content, <%= form_for @content, :as => :content,
:url => {:action => 'update', :id => @page.title}, :url => {:action => 'update', :id => @page.title},
:html => {:method => :put, :multipart => true, :id => 'wiki_form'} do |f| %> :html => {:method => :put, :multipart => true, :id => 'wiki_form', :class => ''} do |f| %>
<%= f.hidden_field :version %> <%= f.hidden_field :version %>
<% if @section %> <% if @section %>
<%= hidden_field_tag 'section', @section %> <%= hidden_field_tag 'section', @section %>