wiki编辑页面更新
This commit is contained in:
parent
0b764d0dfc
commit
b6716e542a
|
@ -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 %>
|
||||||
|
|
Loading…
Reference in New Issue