Stop help showing up when it shouldn’t

This commit is contained in:
Chris Hill-Scott
2016-05-26 09:43:55 +01:00
parent af7256d84f
commit 6e95abdc82
2 changed files with 2 additions and 2 deletions

View File

@@ -122,7 +122,7 @@
{% else %}
<form method="post" enctype="multipart/form-data" action="{{url_for('main.start_job', service_id=current_service.id, upload_id=upload_id)}}" class='page-footer'>
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<input type="hidden" name="help" value="{{ '3' if request.args['help'] else 0 }}" />
<input type="hidden" name="help" value="{{ '3' if request.args['help'] == '2' else 0 }}" />
<input type="submit" class="button" value="{{ send_button_text }}" />
<a href="{{ back_link }}" class="page-footer-back-link">Back</a>
</form>