Commit c343172c authored by Ryan Herbert's avatar Ryan Herbert

form partials set value inside new inputs

parent 499ed5a8
Pipeline #19918 passed with stages
in 43 seconds
......@@ -21,5 +21,6 @@
id="sample_set_info_{{=i}}"
name="generic[{{=i}}][info]"
rows="1"
placeholder="set information (#tags can be used)">{{if set is not None and set['info'] is not None:}}{{=set['info']}}{{pass}}</input>
placeholder="set information (#tags can be used)"
value="{{if set is not None and set['info'] is not None:}}{{=set['info']}}{{pass}}"/>
</div>
......@@ -34,5 +34,6 @@
id="patient_info_{{=i}}"
name="patient[{{=i}}][info]"
rows="1"
placeholder="patient information (#tags can be used)">{{if set is not None and set['info'] is not None:}}{{=set['info']}}{{pass}}</input>
placeholder="patient information (#tags can be used)"
value="{{if set is not None and set['info'] is not None:}}{{=set['info']}}{{pass}}" />
</div>
......@@ -30,7 +30,8 @@
id="run_info_{{=i}}"
name="run[{{=i}}][info]"
rows="1"
placeholder="run information (#tags can be used)">{{if set is not None and set['info'] is not None:}}{{=set['info']}}{{pass}}</input>
placeholder="run information (#tags can be used)"
value="{{if set is not None and set['info'] is not None:}}{{=set['info']}}{{pass}}"/>
</div>
<div class="field_div">
<input id="run_sequencer_{{=i}}" name="run[{{=i}}][sequencer]" type="text" class="form-control sequencer"
......
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