From: Marius Gavrilescu Date: Wed, 15 Jan 2014 21:14:23 +0000 (+0200) Subject: Add patch_templates to Account.pm X-Git-Url: http://git.ieval.ro/?p=gruntmaster-page.git;a=commitdiff_plain;h=6eff0ac56cb1c41c771153c0a03a74a7fd4b2100 Add patch_templates to Account.pm --- diff --git a/lib/Gruntmaster/Page/Account.pm b/lib/Gruntmaster/Page/Account.pm index 6842b12..f757e9f 100644 --- a/lib/Gruntmaster/Page/Account.pm +++ b/lib/Gruntmaster/Page/Account.pm @@ -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:
HTML ); +patch_templates %templates, 'account'; + $templates{$_} = header($_, TITLE) . $templates{$_} for keys %templates; $templates{$_} .= footer $_ for keys %templates;