##// END OF EJS Templates
Refactor: convert WikiController to a REST resource...
Refactor: convert WikiController to a REST resource git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4303 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r4189:c514dd6885af
r4189:c514dd6885af
Show More
edit.rhtml
28 lines | 1.3 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Ask user what to do with child pages when deleting a parent wiki page (#3202)....
r2584 <h2><%=h @page.pretty_title %></h2>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Eric Davis
Refactor: convert WikiController to a REST resource...
r4189 <% form_for :content, @content, :url => {:action => 'update', :id => @page.title}, :html => {:method => :put, :multipart => true, :id => 'wiki_form'} do |f| %>
Jean-Philippe Lang
Optimistic locking added for wiki edits....
r542 <%= f.hidden_field :version %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <%= error_messages_for 'content' %>
Jean-Philippe Lang
Display wiki syntax quick ref link within the jstoolbar (closes #629, #767)....
r1176
Jean-Philippe Lang
Added some accesskeys:...
r793 <p><%= f.text_area :text, :cols => 100, :rows => 25, :class => 'wiki-edit', :accesskey => accesskey(:edit) %></p>
Jean-Philippe Lang
Fixed: 10342 Creation of Schema in Oracle...
r476 <p><label><%= l(:field_comments) %></label><br /><%= f.text_field :comments, :size => 120 %></p>
Jean-Philippe Lang
Adds attachments upload on wiki edit form (#1223)....
r3386 <p><label><%=l(:label_attachment_plural)%></label><br /><%= render :partial => 'attachments/form' %></p>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <p><%= submit_tag l(:button_save) %>
<%= link_to_remote l(:label_preview),
Eric Davis
Refactor: use :id instead of :page when linking to Wiki Pages...
r4182 { :url => { :controller => 'wiki', :action => 'preview', :project_id => @project, :id => @page.title },
Eric Davis
Refactor: convert WikiController to a REST resource...
r4189 :method => :post,
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 :update => 'preview',
Jean-Philippe Lang
Automatically scroll down to the preview when previewing wiki page....
r701 :with => "Form.serialize('wiki_form')",
Jean-Philippe Lang
Replaced window.hash= by Element.scrollTo()...
r1122 :complete => "Element.scrollTo('preview')"
Jean-Philippe Lang
Added some accesskeys:...
r793 }, :accesskey => accesskey(:preview) %></p>
Jean-Philippe Lang
Fixed: wiki preview doesn't work on long entries....
r652 <%= wikitoolbar_for 'content_text' %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% end %>
Jean-Philippe Lang
Fixed: wiki preview doesn't work on long entries....
r652 <div id="preview" class="wiki"></div>
Jean-Philippe Lang
Added code highlighting support in wiki, using this syntax:...
r699
<% content_for :header_tags do %>
<%= stylesheet_link_tag 'scm' %>
<% end %>
Jean-Philippe Lang
Removed @html_title assignments in controllers....
r704
Jean-Philippe Lang
Slight improvements to the browser views....
r1019 <% html_title @page.pretty_title %>