##// END OF EJS Templates
Perf: don't load preferences for the anonymous user....
Perf: don't load preferences for the anonymous user. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9917 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9346:5e57a1a9d947
r9734:bd927eea88a6
Show More
rename.html.erb
21 lines | 769 B | text/plain | TextLexer
<%= wiki_page_breadcrumb(@page) %>
<h2><%= h @original_title %></h2>
<%= error_messages_for 'page' %>
<%= labelled_form_for :wiki_page, @page,
:url => { :action => 'rename' },
:html => { :method => :post } do |f| %>
<div class="box tabular">
<p><%= f.text_field :title, :required => true, :size => 100 %></p>
<p><%= f.check_box :redirect_existing_links %></p>
<p><%= f.select :parent_id,
content_tag('option', '', :value => '') +
wiki_page_options_for_select(
@wiki.pages.all(:include => :parent) - @page.self_and_descendants,
@page.parent),
:label => :field_parent_title %></p>
</div>
<%= submit_tag l(:button_rename) %>
<% end %>