- <TH ALIGN="right"><%=$r%>Advertising source</TH>
- <TD>
- <%= include( '/elements/select-part_referral.html', $refnum,
- 'part_referrals' => $opt{'part_referrals'},
- )
- %>
+% if ( $opt{'label'} ) {
+ <TD ALIGN="right"><% $opt{'label'} %></TD>
+% } else {
+ <TH ALIGN="right"><%$r%><% mt('Advertising source') |h %></TH>
+% }
+ <TD COLSPAN="<% $colspan %>">
+ <& /elements/select-part_referral.html,
+ 'curr_value' => $refnum,
+ %opt
+ &>