Skip to content

Commit

Permalink
refactor: (minor change) to reduce diff
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar authored Oct 17, 2024
1 parent a12f94c commit e375b3a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/tup-cms/src/apps/portal/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ def send_confirmation_email(form_name, form_data):
for key in form_data:
if not key.startswith('recaptcha_'):
label = reverse_slugify(key) if key != 'form_id' else 'Form ID'
value = form_data[key]
tour_receipt += f"<p>{label}: {value}</p>\n"
tour_receipt += f"<p>{label}: {form_data[key]}</p>\n"

email_body = f"""
<p>Greetings,</p>
Expand Down

0 comments on commit e375b3a

Please sign in to comment.