-
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add custom double opt-in message + double opt-in redirect URL
- Loading branch information
Showing
6 changed files
with
106 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 1 addition & 13 deletions
14
lib/keila_web/templates/public_form/double_opt_in_required.html.heex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1 @@ | ||
<div style={form_style_attr(@form)} class={form_class_attr(@form)}> | ||
<%= render_h1(@form) %> | ||
<h2 class="text-xl"> | ||
<%= gettext("Please confirm your email") %> | ||
</h2> | ||
<p> | ||
<%= gettext( | ||
"We’ve just sent an email to %{email}. Please click the link in that email to confirm your subscription.", | ||
email: @email | ||
) %> | ||
</p> | ||
<%= render_fine_print(@form) %> | ||
</div> | ||
<%= render_form_double_opt_in_required(@form, @email) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters