<INPUT TYPE="hidden" NAME="<%$name%>" ID="<%$id%>" VALUE="<% $curr_value %>">
- <TABLE>
+ <TABLE STYLE="display:inline">
<TR>
-% if ( @contact_class ) {
+% if ( @contact_class && ! $opt{name_only} ) {
<TD>
<SELECT NAME="<%$name%>_classnum" <% $onchange %>>
<OPTION VALUE="">
<% ($contact_class->classnum == $classnum) ? 'SELECTED' : '' %>
><% $contact_class->classname |h %>
% }
- <SELECT><BR>
+ </SELECT><BR>
<FONT SIZE="-1">Type</FONT>
</TD>
% } else {
$label{'comment'} = 'Comment';
-my @fields = keys %label;
+my @fields = $opt{'name_only'} ? qw( first last ) : keys %label;
</%init>