Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added django-exmail-extras dependency, and added support for template…
…d emails.
- Loading branch information
1 parent
4bda983
commit ab94c1e
Showing
6 changed files
with
46 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{% block main %}{% endblock %} | ||
|
||
<br><a href="http://{{ request.get_host }}">http://{{ request.get_host }}</a> |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{% block main %}{% endblock %} | ||
|
||
http://{{ request.get_host }} |
13 changes: 13 additions & 0 deletions
13
forms_builder/forms/templates/email_extras/form_response.html
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% extends "email_extras/base.html" %} | ||
|
||
{% block main %} | ||
{% if message %}<p>{{ message }}</p>{% endif %} | ||
<table border="0"> | ||
{% for field, value in fields %} | ||
<tr> | ||
<td><b>{{ field }}:</b></td> | ||
<td>{{ value }}</td> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
{% endblock %} |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% extends "email_extras/base.txt" %} | ||
|
||
{% block main %}{% if message %} | ||
{{ message }} | ||
|
||
{% endif %}{% for field, value in fields %} | ||
{{ field }}: {{ value }} | ||
{% endfor %} | ||
{% endblock %} |
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