send edit flag when editing wiki pages

pull/1186/head
Philipp Tessenow 12 years ago
parent 901c9244b1
commit 69236380fa
  1. 3
      app/views/wiki/edit.rhtml

@ -4,7 +4,8 @@
<%= f.hidden_field :lock_version %> <%= f.hidden_field :lock_version %>
<%= error_messages_for 'content' %> <%= error_messages_for 'content' %>
<p><%= f.text_area :text, :cols => 100, :rows => 25, :class => 'wiki-edit', :accesskey => accesskey(:edit) %></p> <p><%= f.text_area :text, :cols => 100, :rows => 25, :class => 'wiki-edit', :accesskey => accesskey(:edit),
:value => textilizable(@content, :text, :attachments => @content.page.attachments, :edit => true) %></p>
<p><label><%= l(:field_comments) %></label><br /><%= f.text_field :comments, :size => 120 %></p> <p><label><%= l(:field_comments) %></label><br /><%= f.text_field :comments, :size => 120 %></p>
<p><label><%=l(:label_attachment_plural)%></label><br /><%= render :partial => 'attachments/form' %></p> <p><label><%=l(:label_attachment_plural)%></label><br /><%= render :partial => 'attachments/form' %></p>

Loading…
Cancel
Save