@@ -1,6 +1,6 | |||||
1 | <%= wiki_page_breadcrumb(@page) %> |
|
1 | <%= wiki_page_breadcrumb(@page) %> | |
2 |
|
2 | |||
3 | <h2><%=h @original_title %></h2> |
|
3 | <h2><%= h @original_title %></h2> | |
4 |
|
4 | |||
5 | <%= error_messages_for 'page' %> |
|
5 | <%= error_messages_for 'page' %> | |
6 |
|
6 | |||
@@ -10,7 +10,12 | |||||
10 | <div class="box tabular"> |
|
10 | <div class="box tabular"> | |
11 | <p><%= f.text_field :title, :required => true, :size => 100 %></p> |
|
11 | <p><%= f.text_field :title, :required => true, :size => 100 %></p> | |
12 | <p><%= f.check_box :redirect_existing_links %></p> |
|
12 | <p><%= f.check_box :redirect_existing_links %></p> | |
13 | <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> |
|
13 | <p><%= f.select :parent_id, | |
|
14 | "<option value=''></option>" + | |||
|
15 | wiki_page_options_for_select( | |||
|
16 | @wiki.pages.all(:include => :parent) - @page.self_and_descendants, | |||
|
17 | @page.parent), | |||
|
18 | :label => :field_parent_title %></p> | |||
14 | </div> |
|
19 | </div> | |
15 | <%= submit_tag l(:button_rename) %> |
|
20 | <%= submit_tag l(:button_rename) %> | |
16 | <% end %> |
|
21 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now