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

<%=h @page.pretty_title %>

Chris@909: Chris@909: <% form_for :content, @content, :url => {:action => 'update', :id => @page.title}, :html => {:method => :put, :multipart => true, :id => 'wiki_form'} do |f| %> Chris@909: <%= 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@909: <%= error_messages_for 'content' %> Chris@909: Chris@909:

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

Chris@909:


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

Chris@909:


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

Chris@909: Chris@909:

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

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