add submitter name email variable

This commit is contained in:
Alex Turchyn committed 2023-09-04 10:08:32 +03:00
1 parent 14bd039a88
commit 517c292c17
2 files changed
+4 -2

No files matched your search

+2 -2
View File
@@ -36,9 +36,9 @@ class AccountConfig < ApplicationRecord
'{{account.name}}'
},
SUBMITTER_COMPLETED_EMAIL_KEY => {
'subject' => '{{submitter.email}} has completed the "{{template.name}}" form',
'subject' => '{{submitter.name}} has completed the "{{template.name}}" form',
'body' => "Hi,\n\n" \
"{{submitter.email}} has completed the \"{{template.name}}\" form:\n\n" \
"{{submitter.name}} has completed the \"{{template.name}}\" form:\n\n" \
"{{submission.link}}\n\n" \
"Thanks,\n" \
'{{account.name}}'