Email displays twice on Contribution Confirmation/Thank-you pages
Overview
If you have a profile on your contribution page that includes an email field, the email appears twice on the Confirmation and Thank-You pages.
Reproduction steps
- Create a contribution page.
- Add a profile to the page that contains an email.
- Submit a contribution.
Current behaviour
Expected behaviour
Comments
When an email field is present in a profile, we correctly hide the email field from the main contribution page. This extends that behavior to the confirmation and thank-you.