##// END OF EJS Templates
Ability to edit a wiki page's parent on the edit page (#6449)....
Ability to edit a wiki page's parent on the edit page (#6449). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8787 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r8667:001b255b081b
r8667:001b255b081b
Show More
edit.html.erb
47 lines | 1.8 KiB | text/plain | TextLexer
Jean-Philippe Lang
Adds breadcrumb on all wiki page views....
r6062 <%= wiki_page_breadcrumb(@page) %>
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
Wiki: allows single section edit (#2222)....
r7709 <% if @section %>
<%= hidden_field_tag 'section', @section %>
<%= hidden_field_tag 'section_hash', @section_hash %>
<% end %>
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
Changed style of the wiki edit form....
r8133 <div class="box tabular">
<%= text_area_tag 'content[text]', @text, :cols => 100, :rows => 25, :class => 'wiki-edit', :accesskey => accesskey(:edit) %>
Jean-Philippe Lang
Ability to edit a wiki page's parent on the edit page (#6449)....
r8667 <% if @page.safe_attribute_names.include?('parent_id') && @wiki.pages.any? %>
<% fields_for @page do |fp| %>
<p>
<label><%= l(:field_parent_title) %></label>
<%= fp.select :parent_id, "<option value=''></option>" + wiki_page_options_for_select(@wiki.pages.all(:include => :parent) - @page.self_and_descendants, @page.parent) %>
</p>
<% end %>
Jean-Philippe Lang
Option to set parent automatically for new wiki pages (#3108)....
r8135 <% end %>
Jean-Philippe Lang
Changed style of the wiki edit form....
r8133 <p><label><%= l(:field_comments) %></label><%= f.text_field :comments, :size => 120 %></p>
<p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p>
</div>
Jean-Philippe Lang
Adds attachments upload on wiki edit form (#1223)....
r3386
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <p><%= submit_tag l(:button_save) %>
Toshi MARUYAMA
remove trailing white-spaces from app/views/wiki/edit.html.erb...
r7097 <%= 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' %>
Jean-Philippe Lang
Adds noindex,noarchive robots meta tag on form pages (#7582)....
r5323 <%= robot_exclusion_tag %>
Jean-Philippe Lang
Added code highlighting support in wiki, using this syntax:...
r699 <% end %>
Jean-Philippe Lang
Removed @html_title assignments in controllers....
r704
Etienne Massip
Remove unecessary page title HTML escaping from views (#9252)....
r7445 <% html_title @page.pretty_title %>