summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/edittemplate.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin/edittemplate.pm')
-rw-r--r--IkiWiki/Plugin/edittemplate.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/edittemplate.pm b/IkiWiki/Plugin/edittemplate.pm
index 20c948eb1..6689b9a5c 100644
--- a/IkiWiki/Plugin/edittemplate.pm
+++ b/IkiWiki/Plugin/edittemplate.pm
@@ -12,8 +12,8 @@ sub import { #{{{
call => \&needsbuild);
hook(type => "preprocess", id => "edittemplate",
call => \&preprocess);
- hook(type => "formbuilder_setup", id => "edittemplate",
- call => \&formbuilder_setup);
+ hook(type => "formbuilder", id => "edittemplate",
+ call => \&formbuilder);
} #}}}
sub needsbuild (@) { #{{{
@@ -49,7 +49,7 @@ sub preprocess (@) { #{{{
$params{template}, $params{match});
} # }}}
-sub formbuilder_setup (@) { #{{{
+sub formbuilder (@) { #{{{
my %params=@_;
my $form=$params{form};