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.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jwebmail/templates/_bot_nav.html b/src/jwebmail/templates/_bot_nav.html
index d92d467..03cb939 100644
--- a/src/jwebmail/templates/_bot_nav.html
+++ b/src/jwebmail/templates/_bot_nav.html
@@ -43,7 +43,7 @@
<div class="column">
{% if mail_folders|length > 1 %}
- <form action="{{ url_for('move', folder=folder) }}" id="move-mail" class=is-pulled-left method=POST>
+ <form action="{{ url_for('move', folder=request.view_args.folder) }}" id="move-mail" class=is-pulled-left method=POST>
<input type=hidden name=csrf_token value="{{ csrf_token() }}">
{% for k, v in request.args.items() if v %}
<input type=hidden name="{{ k }}" value="{{ v }}">
@@ -67,7 +67,7 @@
</form>
{% endif %}
- <form action="{{ url_for('remove', folder=folder) }}" id="remove-mail"
+ <form action="{{ url_for('remove', folder=request.view_args.folder) }}" id="remove-mail"
method=POST class="is-pulled-left ml-2">
<input type=hidden name=csrf_token value="{{ csrf_token() }}">