summaryrefslogtreecommitdiff
path: root/src/jwebmail/templates/_bot_nav.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/jwebmail/templates/_bot_nav.html')
-rw-r--r--src/jwebmail/templates/_bot_nav.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jwebmail/templates/_bot_nav.html b/src/jwebmail/templates/_bot_nav.html
index e2be5f5..73a5170 100644
--- a/src/jwebmail/templates/_bot_nav.html
+++ b/src/jwebmail/templates/_bot_nav.html
@@ -7,8 +7,8 @@
<div class="column">
{% if mail_folders|length > 1 %}
- <form href="{{ url_for('move', folder=folder) }}" id='move-mail' class=is-pulled-left>
- {{ form.csrf_token }}
+ <form action="{{ url_for('move', folder=folder) }}" id="move-mail" class=is-pulled-left method=POST>
+ <input type=hidden name=csrf_token value="{{ csrf_token() }}">
<div class="field has-addons">
<div class=control>
<div class=select>
@@ -22,16 +22,16 @@
</div>
</div>
<div class=control>
- <input type=submit class=button value="{{ gettext('Move') }}">
+ <input id=move type=submit class=button value="{{ gettext('Move') }}">
</div>
</div>
</form>
{% endif %}
- <form href="{{ url_for('move', folder=folder) }}" id="remove-mail"
+ <form action="{{ url_for('remove', folder=folder) }}" id="remove-mail"
method=POST class="is-pulled-left ml-2">
- {{ from.csrf_token }}
+ <input type=hidden name=csrf_token value="{{ csrf_token() }}">
<div class=control>
<input id=remove type=submit class=button value="{{ gettext('Remove') }}">
</div>