diff options
| author | Mark Wells <mark@freeside.biz> | 2015-07-13 17:26:48 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2015-07-14 13:25:48 -0700 |
| commit | 44d55a181dda9acd0162868651c8dfb848089719 (patch) | |
| tree | 254981c78017e4fb794294d651a42392917b45e1 /httemplate/elements/tr-select-months.html | |
| parent | 8ec5976a838f840f5987280deb653b97562de5fa (diff) | |
automatic package changes for supplemental packages, #37102
Diffstat (limited to 'httemplate/elements/tr-select-months.html')
| -rw-r--r-- | httemplate/elements/tr-select-months.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/httemplate/elements/tr-select-months.html b/httemplate/elements/tr-select-months.html new file mode 100644 index 000000000..3ff28f99b --- /dev/null +++ b/httemplate/elements/tr-select-months.html @@ -0,0 +1,12 @@ +<%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); +</%init> +<& tr-select.html, %opt &> |
