Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
26
app/views/wiki/rename.html.erb
Normal file
26
app/views/wiki/rename.html.erb
Normal file
|
@ -0,0 +1,26 @@
|
|||
<%= wiki_page_breadcrumb(@page) %>
|
||||
|
||||
<h2><%= @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.includes(:parent).to_a - @page.self_and_descendants,
|
||||
@page.parent),
|
||||
:label => :field_parent_title %></p>
|
||||
|
||||
<% if @page.safe_attribute? 'wiki_id' %>
|
||||
<p><%= f.select :wiki_id, wiki_page_wiki_options_for_select(@page), :label => :label_project %></p>
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
<%= submit_tag l(:button_rename) %>
|
||||
<% end %>
|
Loading…
Add table
Add a link
Reference in a new issue