X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-months.html;h=4d85764114c3960ce59dec8bee40add5188ba550;hp=3ff28f99bb7703a2d3a180cde617c767341d182e;hb=833cfe5c9938d33c3e6b97ed610c25a7afa6eb04;hpb=98f6d91ec7eaa907204afbfeb90ede1e3bff656d diff --git a/httemplate/elements/tr-select-months.html b/httemplate/elements/tr-select-months.html index 3ff28f99b..4d8576411 100644 --- a/httemplate/elements/tr-select-months.html +++ b/httemplate/elements/tr-select-months.html @@ -1,12 +1,5 @@ -<%init> -my %opt = @_; -$opt{id} ||= $opt{field}; # should be the default everywhere -my $max = $opt{max} || 36; -$opt{options} = [ '', 1 .. $max ]; -$opt{labels} = { '' => '', - map { $_ => emt('[quant,_1,month]', $_) } 1 .. $max - }; - -warn Dumper(\%opt); - -<& tr-select.html, %opt &> +<& tr-td-label.html, @_ &> + + <& select-months.html, @_ &> + +