From 6eff0ac56cb1c41c771153c0a03a74a7fd4b2100 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Wed, 15 Jan 2014 23:14:23 +0200 Subject: [PATCH] Add patch_templates to Account.pm --- lib/Gruntmaster/Page/Account.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.2