Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update form confirmation email and show requested tour info #480

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

jarosenb
Copy link
Collaborator

Overview

  • Update form confirmation email with new copy from Hedda
  • For tour requests, include a copy of the full form submission for people's records.

Related

Changes

Testing

  1. Submit a tour request and check that the email you receive has a copy of the submission parameters.

@@ -44,18 +44,26 @@ def submit_ticket(form_data):


def send_confirmation_email(form_name, form_data):

tour_receipt = ""
if form_name == "Tour Request Form":
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Musing. I thought, "Should we use a different, less volatile, identifier". But form ID is less intuitive, and name is unlikely to change. It might even be more likely that the form is accidentally deleted and recreated… Coupling this logic to form name means such a problem case could be fixed by admin.

@jarosenb jarosenb merged commit 8d1816d into main Sep 16, 2024
1 check passed
@jarosenb jarosenb deleted the forms/tour-email-updates branch September 16, 2024 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants