add checkbox to rename subpages too

master
Joey Hess 2008-09-23 16:56:57 -04:00
parent dfa9556480
commit 9cbc46f49a
1 changed files with 7 additions and 0 deletions

View File

@ -123,6 +123,13 @@ sub rename_form ($$$) { #{{{
$f->field(name => "type", type => 'select',
options => \@page_types,
value => $ext, force => 1);
$f->field(name => "subpages",
label => "",
type => "checkbox",
options => [ [ 1 => gettext("Also rename SubPages and attachments") ] ],
value => 1,
force => 1);
}
$f->field(name => "attachment", type => "hidden");