Fix Prospect edit, from Fernando-Kiernan
[freeside.git] / httemplate / elements / tr-pbx_extension.html
1 %   unless ( $opt{'js_only'} ) {                                                
2                                                                                 
3       <% include('tr-td-label.html', %opt) %>                                   
4         <TD <% $cell_style %>>                                                  
5                                                                                 
6 %   }                                                                           
7 %                                                                               
8             <% include( '/elements/pbx_extension.html', %opt ) %>                     
9 %                                                                               
10 %   unless ( $opt{'js_only'} ) {                                                
11                                                                                 
12         </TD>                                                                   
13       </TR>                                                                     
14                                                                                 
15 %   }                                                                           
16 <%init>                                                                         
17                                                                                 
18 my( %opt ) = @_;                                                                
19                                                                                 
20 my $cell_style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';  
21                                                                                 
22 $opt{'label'} ||= 'Extension';                                                    
23                                                                                 
24 </%init>