X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-alarm_type.html;h=1fc93555e822da9858eda604905e9b7558df4f4a;hp=b929fb8e6dd930eeca277510b8766c890bb80360;hb=HEAD;hpb=8baa8e46e67f00f297d7e10dad02c131d286f40e diff --git a/httemplate/elements/tr-select-alarm_type.html b/httemplate/elements/tr-select-alarm_type.html index b929fb8e6..1fc93555e 100644 --- a/httemplate/elements/tr-select-alarm_type.html +++ b/httemplate/elements/tr-select-alarm_type.html @@ -1,12 +1,9 @@ -% #if ( scalar(@domains) < 2 ) { -% #} else { - - <% $opt{'label'} || 'Type' %> - - <% include( '/elements/select-alarm_type.html', %opt) %> - - -% #} -<%init> - my %opt = @_; - +<& /elements/tr-select-table.html, + label => 'Type', + table => 'alarm_type', + #name_col => + add_inline => 1, + add_fields => [ 'inputs', 'outputs' ], + add_right => [ 'Alarm configuration', 'Alarm global configuration' ], + @_, +&>