diff --git a/Templates/partial.html.ep.tem b/Templates/partial.html.ep.tem index 4c0b13b..ba2e9f1 100644 --- a/Templates/partial.html.ep.tem +++ b/Templates/partial.html.ep.tem @@ -2,18 +2,19 @@ %# Generated by ${version} %#
-%= dumper $$${prefix}_data -- % my $btn = l('APPLY'); - %= form_for "${PackageName}d" => (method => 'POST') => begin - - % param 'trt' => $$${prefix}_data->{trt} unless param 'trt'; + + % if ($config->{debug} == 1) { +
+ %= dumper $$${prefix}_data ++ % } + % my $btn = l('APPLY'); + %= form_for "${PackageName}d" => (method => 'POST') => begin + % param 'trt' => $$${prefix}_data->{trt} unless param 'trt'; %= hidden_field 'trt' => $$${prefix}_data->{trt} %# Inputs etc in here. %# Probably finally by a submit.