effective_email_templates 1.9.2 → 1.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 22c94c5f28e082f029701dea00e77fbf19758c5c3273ae68bc725429d3864176
|
|
4
|
+
data.tar.gz: d2ac8302071d55c74d2008f808a1e35fac77bd57933722e7bde8bdeb05938750
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 48c579ece7dfe1e077b7570bfda94610335df6e0be047cc4c04db8c6b503b8c1747efc84245da702a5cafb0df7dd4448e0e7a0ba5864cb795fb71fdab72d4b1b
|
|
7
|
+
data.tar.gz: 34e347579eb631dce2bcde73666a9236c9188e87a5ea51a25d58c686770c3d7120efe30cef9837448d9eee9c5dc60aa8e6c4d2fa0d822bfa2e2f7ba8f091ad40
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
= effective_form_with(model: email_template, url: email_template.persisted? ? effective_email_templates.admin_email_template_path(email_template.id) : effective_email_templates.admin_email_templates_path) do |f|
|
|
2
|
-
=
|
|
2
|
+
= card do
|
|
3
|
+
= f.static_field :template_name, label: 'Name'
|
|
4
|
+
|
|
5
|
+
- if EffectiveEmailTemplates.select_content_type
|
|
6
|
+
= f.select :content_type, Effective::EmailTemplate::CONTENT_TYPES
|
|
3
7
|
|
|
4
|
-
|
|
5
|
-
= f.
|
|
8
|
+
= f.select :from, mailer_froms_collection(), hint: 'Please contact us to add additional sender addresses. Please refresh the page if this from address looks weird.'
|
|
9
|
+
= f.text_field :cc
|
|
10
|
+
= f.text_field :bcc
|
|
6
11
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
= f.text_field :bcc
|
|
12
|
+
- prefix_hint = EffectiveResources.mailer_subject_prefix_hint.to_s.strip.presence
|
|
13
|
+
= f.text_field :subject, hint: (prefix_hint ? "The subject of your email. It will be automatically prefixed with: #{prefix_hint}" : 'The subject of your email')
|
|
10
14
|
|
|
11
|
-
|
|
12
|
-
|
|
15
|
+
= f.show_if(:content_type, Effective::EmailTemplate::CONTENT_TYPE_PLAIN) do
|
|
16
|
+
= f.text_area :body, hint: 'The text/plain content of your email template', rows: 10
|
|
13
17
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
= f.show_if(:content_type, Effective::EmailTemplate::CONTENT_TYPE_HTML) do
|
|
18
|
-
= f.article_editor :body, hint: 'The text/html content of your email template', mode: :email
|
|
18
|
+
= f.show_if(:content_type, Effective::EmailTemplate::CONTENT_TYPE_HTML) do
|
|
19
|
+
= f.article_editor :body, hint: 'The text/html content of your email template', mode: :email
|
|
19
20
|
|
|
20
21
|
= card do
|
|
21
22
|
%p The available variables for this email template are:
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_email_templates
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.9.
|
|
4
|
+
version: 1.9.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Code and Effect
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|