} elsif ( $type eq 'checkbox' ) {
$value = $value eq 'Y' ? emt('Yes') : emt('No');
} elsif ( $type =~ /(input-)?mac_addr/ and $value =~ /\w/) {
} elsif ( $type eq 'checkbox' ) {
$value = $value eq 'Y' ? emt('Yes') : emt('No');
} elsif ( $type =~ /(input-)?mac_addr/ and $value =~ /\w/) {