</tr>
<tr>
<td>{$form.is_opt_out.html} {$form.is_opt_out.label} {help id="id-optOut" file="CRM/Contact/Form/Contact.hlp"}</td>
- <td>{$form.preferred_mail_format.label}
- {$form.preferred_mail_format.html} {help id="id-emailFormat" file="CRM/Contact/Form/Contact.hlp"}
- </td>
-
+ {if !empty($form.preferred_mail_format)}
+ <td>{$form.preferred_mail_format.label}
+ {$form.preferred_mail_format.html} {help id="id-emailFormat" file="CRM/Contact/Form/Contact.hlp"}
+ </td>
+ {/if}
</tr>
</table>
</div><!-- /.crm-accordion-body -->
{$form.preferred_language.html}
</div>
</div>
+
+ {if !empty($form.preferred_mail_format)}
<div class="crm-summary-row">
<div class="crm-label">
{$form.preferred_mail_format.label}
{$form.preferred_mail_format.html} {help id="id-emailFormat" file="CRM/Contact/Form/Contact.hlp"}
</div>
</div>
+ {/if}
{if !empty($form.email_greeting_id)}
<div class="crm-summary-row">