Chris@909: <%= wiki_page_breadcrumb(@page) %> Chris@909: Chris@0:

<%=h @page.pretty_title %>

Chris@0: chris@37: <% form_for :content, @content, :url => {:action => 'update', :id => @page.title}, :html => {:method => :put, :multipart => true, :id => 'wiki_form'} do |f| %> Chris@0: <%= f.hidden_field :version %> Chris@909: <% if @section %> Chris@909: <%= hidden_field_tag 'section', @section %> Chris@909: <%= hidden_field_tag 'section_hash', @section_hash %> Chris@909: <% end %> Chris@0: <%= error_messages_for 'content' %> Chris@0: Chris@909:

<%= text_area_tag 'content[text]', @text, :cols => 100, :rows => 25, :class => 'wiki-edit', :accesskey => accesskey(:edit) %>

Chris@0:


<%= f.text_field :comments, :size => 120 %>

Chris@0:


<%= render :partial => 'attachments/form' %>

Chris@0: Chris@0:

<%= submit_tag l(:button_save) %> Chris@909: <%= link_to_remote l(:label_preview), chris@37: { :url => { :controller => 'wiki', :action => 'preview', :project_id => @project, :id => @page.title }, chris@37: :method => :post, Chris@0: :update => 'preview', Chris@0: :with => "Form.serialize('wiki_form')", Chris@0: :complete => "Element.scrollTo('preview')" Chris@0: }, :accesskey => accesskey(:preview) %>

Chris@0: <%= wikitoolbar_for 'content_text' %> Chris@0: <% end %> Chris@0: Chris@0:
Chris@0: Chris@0: <% content_for :header_tags do %> Chris@0: <%= stylesheet_link_tag 'scm' %> Chris@441: <%= robot_exclusion_tag %> Chris@0: <% end %> Chris@0: Chris@0: <% html_title @page.pretty_title %>