kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.3 KiB
30 lines
1.3 KiB
16 years ago
|
<h2><%=h @page.pretty_title %></h2>
|
||
18 years ago
|
|
||
14 years ago
|
<% form_for :content, @content, :url => {:action => 'update', :id => @page.title}, :html => {:method => :put, :multipart => true, :id => 'wiki_form'} do |f| %>
|
||
14 years ago
|
<%= f.hidden_field :lock_version %>
|
||
18 years ago
|
<%= error_messages_for 'content' %>
|
||
17 years ago
|
|
||
17 years ago
|
<p><%= f.text_area :text, :cols => 100, :rows => 25, :class => 'wiki-edit', :accesskey => accesskey(:edit) %></p>
|
||
18 years ago
|
<p><label><%= l(:field_comments) %></label><br /><%= f.text_field :comments, :size => 120 %></p>
|
||
15 years ago
|
<p><label><%=l(:label_attachment_plural)%></label><br /><%= render :partial => 'attachments/form' %></p>
|
||
|
|
||
18 years ago
|
<p><%= submit_tag l(:button_save) %>
|
||
14 years ago
|
<%= link_to_remote l(:label_preview),
|
||
14 years ago
|
{ :url => { :controller => 'wiki', :action => 'preview', :project_id => @project, :id => @page.title },
|
||
14 years ago
|
:method => :post,
|
||
18 years ago
|
:update => 'preview',
|
||
17 years ago
|
:with => "Form.serialize('wiki_form')",
|
||
17 years ago
|
:complete => "Element.scrollTo('preview')"
|
||
17 years ago
|
}, :accesskey => accesskey(:preview) %></p>
|
||
17 years ago
|
<%= wikitoolbar_for 'content_text' %>
|
||
18 years ago
|
<% end %>
|
||
|
|
||
17 years ago
|
<div id="preview" class="wiki"></div>
|
||
17 years ago
|
|
||
|
<% content_for :header_tags do %>
|
||
|
<%= stylesheet_link_tag 'scm' %>
|
||
14 years ago
|
<%= robot_exclusion_tag %>
|
||
17 years ago
|
<% end %>
|
||
17 years ago
|
|
||
13 years ago
|
<% html_title h(@page.pretty_title) %>
|