From e930ee8e98acbe14438c9c314077a9f7ee198269 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 30 Jul 2017 07:38:48 +0000 Subject: Adds a checkbox to set a page as the wiki start page (#26579). git-svn-id: http://svn.redmine.org/redmine/trunk@16915 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/wiki/rename.html.erb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/views/wiki') diff --git a/app/views/wiki/rename.html.erb b/app/views/wiki/rename.html.erb index ac88fd4bf..377e1717c 100644 --- a/app/views/wiki/rename.html.erb +++ b/app/views/wiki/rename.html.erb @@ -9,6 +9,9 @@ :html => { :method => :post } do |f| %>

<%= f.text_field :title, :required => true, :size => 100 %>

+<% if @page.safe_attribute? 'is_start_page' %> +

<%= f.check_box :is_start_page, :label => :field_start_page, :disabled => @page.is_start_page %>

+<% end %>

<%= f.check_box :redirect_existing_links %>

<%= f.select :parent_id, content_tag('option', '', :value => '') + -- cgit v1.2.3