Commit aecc03e1 authored by Ryan Herbert's avatar Ryan Herbert

file/form.html fix set_ids field during edit

The separator for set_ids loaded into the form when editing a sample
was not the expected separator, causing the form validation to only
detect on set whithin the field and removing all other set associations

See #3489
parent b79d06ff
......@@ -54,7 +54,7 @@
id="file_set_list"
name="set_ids"
type="text"
value="{{=",".join([set['id'] for set in sets])}}">
value="{{="|".join([set['id'] for set in sets])}}">
<div id="set_div" class="token_container" data-min-tokens=1>
{{ for set in sets: }}
<span class="set_token {{=set['type']}}_token" data-set-id="{{=set['id']}}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment