X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fselect.html;h=59010c140c0e0c01e92732dfcedb47a74b4eae3b;hb=70d833ddf56f47fa89f429c6a5e84378da848ff9;hp=efcf27b0e09ea5ee04ef8b177597629fc12d611a;hpb=99d1d8e1d4230097dbe5f00ca10241e74941d6e3;p=freeside.git diff --git a/httemplate/elements/select.html b/httemplate/elements/select.html index efcf27b0e..59010c140 100644 --- a/httemplate/elements/select.html +++ b/httemplate/elements/select.html @@ -4,9 +4,12 @@ ID = "<% $opt{id} %>" previousValue = "<% $curr_value %>" previousText = "<% $labels->{$curr_value} || $curr_value %>" + <% $multiple %> + <% $size %> <% $style %> <% $opt{disabled} %> <% $onchange %> + <% $opt{'element_etc'} %> > % if ( $opt{options} ) { @@ -71,5 +74,8 @@ my @style = ref($opt{'style'}) my $style = scalar(@style) ? 'STYLE="'. join(';', @style). '"' : ''; +my $size = $opt{'size'} ? 'SIZE='.$opt{'size'} : ''; + +my $multiple = $opt{'multiple'} ? 'MULTIPLE' : '';