To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / wiki / rename.rhtml @ 442:753f1380d6bc
History | View | Annotate | Download (580 Bytes)
| 1 |
<h2><%= l(:button_rename) %>: <%= @original_title %></h2> |
|---|---|
| 2 |
|
| 3 |
<%= error_messages_for 'page' %>
|
| 4 |
|
| 5 |
<% labelled_tabular_form_for :wiki_page, @page, :url => { :action => 'rename' } do |f| %>
|
| 6 |
<div class="box"> |
| 7 |
<p><%= f.text_field :title, :required => true, :size => 100 %></p> |
| 8 |
<p><%= f.check_box :redirect_existing_links %></p> |
| 9 |
<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> |
| 10 |
</div>
|
| 11 |
<%= submit_tag l(:button_rename) %>
|
| 12 |
<% end %>
|