Commit 1d92877f authored by Ryan Herbert's avatar Ryan Herbert

form_builder set selector placeholder

replace the set selector label with a placeholder
parent e96f0534
......@@ -297,7 +297,6 @@ FileFormBuilder.prototype.build_set_div = function() {
var self = this;
var f = document.createElement('div');
f.className = "field_div"
f.appendChild(this.build_label('sets', 'file', 'set_ids'));
var d = document.createElement('div');
d.className = "token_div form-control";
......@@ -329,6 +328,7 @@ FileFormBuilder.prototype.build_set_div = function() {
i2.dataset.needsTokeniser = true;
i2.dataset.groupIds = "[" + this.group_ids + "]";
i2.dataset.keys = '["generic", "patient", "run"]';
i2.placeholder = "Sets";
d.appendChild(i2);
return f;
......
......@@ -47,7 +47,6 @@
</div>
</div>
<div class="field_div">
<label for="file_set_ids_{{=i}}" id="file_set_ids__label_{{=i}}">sets: </label>
<div class="token_div form-control" onclick="$('#token_input_{{=i}}').focus()">
<input
hidden
......@@ -73,6 +72,7 @@
data-needs-tokeniser="true"
data-group-ids="{{=upload_group_ids}}"
data-keys='["generic", "patient", "run"]'
placeholder="Sets"
type="text">
</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