The profile frontend_title is printed twice in contribution page confirmation
In Contribution Page confirmation the frontend_title
of Profile is printed twice. See Block.tpl from line 31 to 37. The block is called from Confirm.tpl line 191
I think the issue is in the current version, but I found it on version 5.81.0 on WordPress.
The groupTitle
is printed twice on confirm page, the first in legend
tag, the second in a div
with class header-dark
:
{if !$hideFieldset}
<fieldset class="crm-profile crm-profile-id-{$group_id} crm-profile-name-{$groupName}"><legend>{$groupDisplayTitle}</legend>
{/if}
{if ($form.formName eq 'Confirm' OR $form.formName eq 'ThankYou') AND $prefix neq 'honor'}
<div class="header-dark">{$groupDisplayTitle} </div>
{/if}
I might suggest changing like this:
{if !$hideFieldset}
<fieldset class="crm-profile crm-profile-id-{$group_id} crm-profile-name-{$groupName}">
{/if}
{if ($form.formName eq 'Confirm' OR $form.formName eq 'ThankYou') AND $prefix neq 'honor'}
<div class="header-dark">{$groupDisplayTitle} </div>
{elseif !$hideFieldset}
<legend>{$groupDisplayTitle}</legend>
{/if}