From 8d7cd4b2bd99cc1a711d81b55a1652d31eda4df5 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 13 May 2012 22:16:37 -0700 Subject: service def classes, to support corecom portal, RT#17617 --- httemplate/elements/select-part_svc_class.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 httemplate/elements/select-part_svc_class.html (limited to 'httemplate/elements/select-part_svc_class.html') diff --git a/httemplate/elements/select-part_svc_class.html b/httemplate/elements/select-part_svc_class.html new file mode 100644 index 000000000..280e3e17d --- /dev/null +++ b/httemplate/elements/select-part_svc_class.html @@ -0,0 +1,22 @@ +<% include( '/elements/select-table.html', + 'table' => 'part_svc_class', + 'name_col' => 'classname', + 'value' => $classnum, + 'empty_label' => '(none)', + 'hashref' => \%hash, + %opt, + ) +%> +<%init> + +my %opt = @_; +my $classnum = $opt{'curr_value'} || $opt{'value'}; + +my %hash = (); +$hash{'disabled'} = '' unless $opt{'showdisabled'}; + + +$opt{'records'} = delete $opt{'part_svc_class'} + if $opt{'part_svc_class'}; + + -- cgit v1.2.1