summaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki')
-rwxr-xr-xikiwiki6
1 files changed, 4 insertions, 2 deletions
diff --git a/ikiwiki b/ikiwiki
index a9f76d3fe..444d6f4a3 100755
--- a/ikiwiki
+++ b/ikiwiki
@@ -621,8 +621,10 @@ sub cgi () {
$q->h1("$wikiname: Creating $page"),
$q->start_form(-action => $action),
$q->hidden('do'),
- "Select page location: ($default_loc)",
- $q->popup_menu('page', \@page_locs, $default_loc),
+ "Select page location:",
+ $q->popup_menu(-name => 'page',
+ -values => \@page_locs,
+ -default => $default_loc),
$q->textarea(-name => 'content',
-default => "",
-rows => 20,