add submitter name email variable

This commit is contained in:
Alex Turchyn
2023-09-04 10:06:50 +03:00
parent 14bd039a88
commit 517c292c17
2 changed files with 4 additions and 2 deletions
+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}}'