Commit 4e30c2c7 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil

views/*: edit sample, we consider only one sample

See #3091.
parent 27b2cd39
Pipeline #19945 passed with stages
in 41 seconds
......@@ -32,15 +32,18 @@
<h3>Patient, run or set association</h3>
Samples have to be associated with at least one patient, run or set.
You can also associate them with any combination of the three.
{{ if isEditing: }}
{{ else: }}
All the samples added here will be associated to the "common sets".
Moreover, in the sample list, you can associate individually some samples to some specific patient, run or set.
{{ pass }}
</div>
&nbsp;
<div class="field_div">
{{ if len(errors) > 0: }}
<div class="error">{{=", ".join(errors)}}</div>
{{ pass }}
<label for="set_ids" id="set_ids__label">Common sets: </label>
<label for="set_ids" id="set_ids__label">{{ if isEditing: }}Sets:{{ else: }}Common sets:{{ pass }}</label>
<div class="token_div form-control" onclick="$('#token_input').focus()">
<input
hidden
......
......@@ -73,7 +73,9 @@
</span>
{{pass}}
</div>
<input
{{ if isEditing: }}
{{ else: }}
<input
id="token_input_{{=i}}"
class="token_input"
autocomplete="off"
......@@ -85,6 +87,7 @@
data-keys='["generic", "patient", "run"]'
placeholder="specific sets"
type="text">
{{ pass }}
</div>
</div>
</div>
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