diff options
Diffstat (limited to 'httemplate/elements/tr-part_pkg_freq.html')
-rw-r--r-- | httemplate/elements/tr-part_pkg_freq.html | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/httemplate/elements/tr-part_pkg_freq.html b/httemplate/elements/tr-part_pkg_freq.html index 98b7da5a5..649f8a2d0 100644 --- a/httemplate/elements/tr-part_pkg_freq.html +++ b/httemplate/elements/tr-part_pkg_freq.html @@ -1,15 +1,10 @@ -<% include('tr-td-label.html', @_ ) %> - - <TD> - <SELECT NAME="freq"> -% foreach my $freq ( @freq ) { - <OPTION VALUE="<% $freq %>" <% $freq eq $curr_value ? 'SELECTED' : '' %>><% $freq{$freq} %> -% } - </SELECT> - </TD> - -</TR> - +<% include('tr-select.html', @_, + 'field' => 'freq', + 'options' => \@freq, + 'labels' => \%freq, + 'curr_value' => $curr_value, + ) +%> <%init> my %opt = @_; |