1 <& /elements/tr-td-label.html, %opt &>
6 <td><input name="<% $field %>_fdu" value="<% $fdu |h %>" SIZE="1"></td>
8 <td><input name="<% $field %>_fat" value="<% $fat |h %>" SIZE="1">
9 <input name="<% $field %>_subfat" value="<% $subfat |h %>" SIZE="1">
12 <td><input name="<% $field %>_port" value="<% $port |h %>" SIZE="1"></td>
18 Supports a circuit ID of the form
19 FDU# (digit), FAT# (digit), SubFAT (letter), Port# (numeric)
20 May support other formats in the future, or just a free text field.
24 my $value = length($opt{curr_value}) ? $opt{curr_value} : $opt{value};
25 my ($fdu, $fat, $port) = split('/', $value);
27 if ( $fat =~ /[A-Z]$/i ) {
28 $subfat = substr($fat, -1, 1, '');
30 my $field = $opt{'field'} || 'circuit_id';