mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 22:52:32 -05:00
add submission id var
This commit is contained in:
1 parent
2fdc294293
commit
c1e67a8af0
1 file changed
+2
@@ -131,6 +131,8 @@ module Submitters
|
||||
|
||||
value.to_s.gsub(VARIABLE_REGEXP) do |e|
|
||||
case key = ::Regexp.last_match(1)
|
||||
when 'id'
|
||||
attrs['submission_id']
|
||||
when 'time'
|
||||
if with_time
|
||||
I18n.l(Time.current.in_time_zone(template.account.timezone), format: :long, locale: template.account.locale)
|
||||
|
||||
Reference in new issue
Block a user