Tell the API which contact list a job’s come from

So that we can make enhancements to the UI in the future, for example
grouping jobs within their associated contact list.
This commit is contained in:
Chris Hill-Scott
2020-03-16 17:00:34 +00:00
parent 585fdd9076
commit fc58547be3
6 changed files with 60 additions and 5 deletions

View File

@@ -37,6 +37,7 @@
<form method="post" enctype="multipart/form-data" action="{{url_for('main.start_job', service_id=current_service.id, upload_id=upload_id, original_file_name=original_file_name)}}" class='page-footer'>
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<input type="hidden" name="help" value="{{ '3' if help else 0 }}" />
<input type="hidden" name="contact_list_id" value="{{ request.args.get('contact_list_id', '') }}" />
{% if choose_time_form and template.template_type != 'letter' %}
{{ radio_select(
choose_time_form.scheduled_for,