Now that we have set up the donate site to use a FundraiseUp form in https://github.com/MozillaFoundation/donate-wagtail/pull/1740, it has been requested that we add a new field to the donation page model, where users can enter the ID of a different FundraiseUp Element if they would like to. If this field is not set, then the template should default to the ID that we added in #1740. This can probably be done with an if statement in the template.
Dev Steps:
[ ] Add a new optional charfield to the Donationpage model.
[ ] Update the donation form template with an if statement that checks for this new field.
Description
Now that we have set up the donate site to use a FundraiseUp form in https://github.com/MozillaFoundation/donate-wagtail/pull/1740, it has been requested that we add a new field to the donation page model, where users can enter the ID of a different FundraiseUp Element if they would like to. If this field is not set, then the template should default to the ID that we added in #1740. This can probably be done with an
if
statement in the template.Dev Steps:
if
statement that checks for this new field.