<% mt('First name') |h %> <% mt('Last name') |h %> <% mt('Email') |h %> % foreach my $phone_type ( qsearch({table=>'phone_type', order_by=>'weight'}) ) { <% $phone_type->typename. ' Phone' |h %> % } <%init> my %opt = @_; my $field_prefix = $opt{'pre_fix'} ? $opt{'pre_fix'} : '';