diff options
| author | Mark Wells <mark@freeside.biz> | 2014-09-23 14:34:00 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2014-09-23 14:34:00 -0700 |
| commit | 69bdaccf38c8f1b7471ff13354ccbcbb6aa20096 (patch) | |
| tree | 3df80f225d4acb7100d260ca2e56be735ba8de07 /httemplate/elements | |
| parent | 942e4d33971c804511a4770f58483e1d4385aa61 (diff) | |
package churn report filtering by advertising source, tower, and zip code, #26999
Diffstat (limited to 'httemplate/elements')
| -rw-r--r-- | httemplate/elements/select-table.html | 3 | ||||
| -rw-r--r-- | httemplate/elements/select.html | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/elements/select-table.html b/httemplate/elements/select-table.html index 9f26a3591..e73638801 100644 --- a/httemplate/elements/select-table.html +++ b/httemplate/elements/select-table.html @@ -70,6 +70,7 @@ Example: NAME = "<% $opt{'element_name'} || $opt{'field'} || $key %>" ID = "<% $opt{'id'} || $key %>" <% $onchange %> + <% $size %> <% $opt{'element_etc'} %> > @@ -212,4 +213,6 @@ unless ( !ref($value) && $value < 1 # !$value #ignore negatives too my @pre_options = $opt{pre_options} ? @{ $opt{pre_options} } : (); my @post_options = $opt{post_options} ? @{ $opt{post_options} } : (); +my $size = $opt{'size'} ? 'SIZE=' . $opt{'size'} : ''; + </%init> diff --git a/httemplate/elements/select.html b/httemplate/elements/select.html index efcf27b0e..67ef51418 100644 --- a/httemplate/elements/select.html +++ b/httemplate/elements/select.html @@ -4,6 +4,7 @@ ID = "<% $opt{id} %>" previousValue = "<% $curr_value %>" previousText = "<% $labels->{$curr_value} || $curr_value %>" + <% $size %> <% $style %> <% $opt{disabled} %> <% $onchange %> @@ -71,5 +72,6 @@ my @style = ref($opt{'style'}) my $style = scalar(@style) ? 'STYLE="'. join(';', @style). '"' : ''; +my $size = $opt{'size'} ? 'SIZE='.$opt{'size'} : ''; </%init> |
