After sending sms or email to self or batch then then back button

does not take user to check page, but rather the start of sending
either sms or email.
This commit is contained in:
Adam Shimali
2016-03-29 15:59:53 +01:00
parent 0ac16dd5ff
commit f3fd5f6b15
3 changed files with 20 additions and 38 deletions

View File

@@ -64,7 +64,7 @@
{% if errors %}
{{file_upload(form.file, button_text='Re-upload your file')}}
{% else %}
<form method="post" enctype="multipart/form-data">
<form method="post" enctype="multipart/form-data" action="{{url_for('main.start_job', service_id=service_id, upload_id=upload_id)}}">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<input type="submit" class="button" value="{{ send_button_text }}" />
<a href="{{url_for('.send_messages', service_id=service_id, template_id=template.id)}}" class="page-footer-back-link">Back</a>