projects
/
freeside.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bug fix for RT#71623 or RT#13971, discovered during RT#38217, needs backport to v4
[freeside.git]
/
httemplate
/
elements
/
select-months.html
1
<%init>
2
my %opt = @_;
3
$opt{id} ||= $opt{field}; # should be the default everywhere
4
my $max = $opt{max} || 36;
5
$opt{options} = [ '', 1 .. $max ];
6
$opt{labels} = { '' => '',
7
map { $_ => emt('[quant,_1,month]', $_) } 1 .. $max
8
};
9
10
</%init>
11
<& select.html, %opt &>