markdown in preferences

This commit is contained in:
Pete Matsyburka
2026-02-21 14:44:19 +02:00
parent e9c8e4d325
commit 3d0c7f1118
7 changed files with 17 additions and 39 deletions
+6
View File
@@ -58,6 +58,12 @@ class AccountConfig < ApplicationRecord
TEMPLATE_CUSTOM_FIELDS_KEY = 'template_custom_fields'
POLICY_LINKS_KEY = 'policy_links'
EMAIL_VARIABLES = {
SUBMITTER_INVITATION_EMAIL_KEY => %w[template.name submitter.link account.name].freeze,
SUBMITTER_COMPLETED_EMAIL_KEY => %w[template.name submission.submitters submission.link].freeze,
SUBMITTER_DOCUMENTS_COPY_EMAIL_KEY => %w[template.name documents.link account.name].freeze
}.freeze
DEFAULT_VALUES = {
SUBMITTER_INVITATION_EMAIL_KEY => lambda {
{