code layout clean up app/views/wiki/rename.html.erb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8484 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-01-03 12:09:34 +00:00
parent 27828590d1
commit 3d562490d8
1 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<%= wiki_page_breadcrumb(@page) %>
<h2><%=h @original_title %></h2>
<h2><%= h @original_title %></h2>
<%= error_messages_for 'page' %>
@ -10,7 +10,12 @@
<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, "<option value=''></option>" + wiki_page_options_for_select(@wiki.pages.all(:include => :parent) - @page.self_and_descendants, @page.parent), :label => :field_parent_title %></p>
<p><%= f.select :parent_id,
"<option value=''></option>" +
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 %>