]> iEval git - plack-app-gruntmaster.git/commitdiff
Add patch_templates to Account.pm
authorMarius Gavrilescu <marius@ieval.ro>
Wed, 15 Jan 2014 21:14:23 +0000 (23:14 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Wed, 15 Jan 2014 21:14:23 +0000 (23:14 +0200)
lib/Gruntmaster/Page/Account.pm

index 6842b121914304b8b5b0420de665d52804fd6f79..f757e9fe08b859b4853627bac9cf0a1889782ae5 100644 (file)
@@ -10,7 +10,7 @@ our $VERSION = '0.001';
 use constant TITLE => 'Account';
 
 use HTML::Template::Compiled;
-use Gruntmaster::Page::Common qw/header footer/;
+use Gruntmaster::Page::Common qw/header footer patch_templates/;
 
 my %templates = (
   en => <<'HTML',
@@ -48,6 +48,8 @@ Confirm new password:<br>
 HTML
 );
 
+patch_templates %templates, 'account';
+
 $templates{$_}  = header($_, TITLE) . $templates{$_} for keys %templates;
 $templates{$_} .= footer $_ for keys %templates;
 
This page took 0.028739 seconds and 4 git commands to generate.