summaryrefslogtreecommitdiff
path: root/src/jwebmail/templates/writemail.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/jwebmail/templates/writemail.html')
-rw-r--r--src/jwebmail/templates/writemail.html8
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>