diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-09-10 17:26:18 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-09-10 17:26:18 -0700 |
commit | 2b10c0594ff2ab9ce37d9f8af9c154d3bedde731 (patch) | |
tree | 0c2c760de09ca72dfc2b4eaea7f57abe3ed47de4 /httemplate/elements | |
parent | 05669195e91e450449405bd3dc355e8e17f36565 (diff) | |
parent | f8c8b9782ff5400790c2fb6dae017ce01790e56e (diff) |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/tr-select-voip_class.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/httemplate/elements/tr-select-voip_class.html b/httemplate/elements/tr-select-voip_class.html new file mode 100644 index 000000000..dcc1487cc --- /dev/null +++ b/httemplate/elements/tr-select-voip_class.html @@ -0,0 +1,24 @@ +<& tr-td-label.html, label => 'Category', @_ &> +<TD> +<SELECT NAME="<% $opt{'field'} %>"> +% while(@options) { +% my $value = shift @options; +% my $selected = ($value eq $opt{'curr_value'}) ? 'SELECTED' : ''; + <OPTION VALUE="<% $value %>" <% $selected %>><% shift @options %></OPTION> +% } +</SELECT> +</TD></TR> +<%init> +my %opt = ( + field => 'fcc_voip_class', + label => 'Category', + @_ +); +my @options = ( + '' => '', + 1 => 'VoIP without Broadband', + 2 => 'VoIP with Broadband', + 3 => 'Wholesale VoIP' +); + +</%init> |