diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2024-04-10 12:18:20 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2024-04-10 12:18:20 +0200 |
commit | f618ebc8a181256458099ed74d978a06dd1a75b0 (patch) | |
tree | 77167fa0ca18a63b3a350774de0d8f390693c93a /src/jwebmail/templates/writemail.html | |
parent | 36ed4690af26688a3e86243b85970dafaab35a3b (diff) |
initial implementation of sendmail
Diffstat (limited to 'src/jwebmail/templates/writemail.html')
-rw-r--r-- | src/jwebmail/templates/writemail.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/jwebmail/templates/writemail.html b/src/jwebmail/templates/writemail.html index 31adff1..a945081 100644 --- a/src/jwebmail/templates/writemail.html +++ b/src/jwebmail/templates/writemail.html @@ -9,7 +9,7 @@ <p class=message> {{ warning }} </p> {% endif %} - <form method="post" enctype="multipart/form-data"> + <form method=post enctype="multipart/form-data"> <div class=field> {{ form.send_to.label(class='label') }} @@ -57,7 +57,7 @@ <div class=file> <label class=file-label> {{ form.attachments(class='file-input') }} - <span class="file-cta"> + <span class=file-cta> <span class=file-label> {% trans %}attach file{% endtrans %} </span> @@ -66,6 +66,8 @@ </div> </div> + {{ form.csrf_token }} + <div class=field> <div class=control> <input type=submit class=button value="{{ gettext('Send') }}"> @@ -75,7 +77,7 @@ </form> <nav> - <a href="javascript:history.back()" class="button">{% trans %}back{% endtrans %}</a> + <a href="javascript:history.back()" class=button>{% trans %}back{% endtrans %}</a> </nav> </div> |