From 5264cbf1175e3ea73cf9bcf5087c5028e6cf3b1c Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sat, 4 Jan 2014 16:23:54 -0800 Subject: svc_conferencing, RT#24389 --- httemplate/elements/tr-duration.html | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 httemplate/elements/tr-duration.html (limited to 'httemplate/elements/tr-duration.html') diff --git a/httemplate/elements/tr-duration.html b/httemplate/elements/tr-duration.html new file mode 100644 index 000000000..2517302ea --- /dev/null +++ b/httemplate/elements/tr-duration.html @@ -0,0 +1,30 @@ +<%doc> + +Example: + + <& /elements/tr-duration.html, + 'label' => 'Do or do not', + 'field' => 'field_name', + 'value' => 'Y', + &> + + +<% include('tr-td-label.html', @_ ) %> + + > + <% include('duration.html', @_) %> + + + + +<%init> + +my %opt = @_; + +my $onchange = $opt{'onchange'} + ? 'onChange="'. $opt{'onchange'}. '(this)"' + : ''; + +my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : ''; + + -- cgit v1.2.1