Skip to content

Commit bbdf92e

Browse files
committed
addressing @wasade comment
1 parent 15b286c commit bbdf92e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

qiita_pet/templates/analysis_selected.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,15 +218,17 @@ <h4>Metadata Selection <small>Common fields for all studies are preselected</sma
218218
<table border="0" style="width: 100%;">
219219
<tr>
220220
<td style="width: 50%;">
221+
Sample Information
221222
<select data-placeholder="Choose Sample Metadata..." multiple class="chosen-select" id="sample-metadata-{{study.id}}">
222-
{% for field in metadata[study.id]['sample'] %}
223+
{% for field in sorted(metadata[study.id]['sample']) %}
223224
<option value="{{field}}">{{field}}</option>
224225
{% end %}
225226
</select>
226227
</td>
227228
<td style="width: 50%;">
229+
Preparation Information
228230
<select data-placeholder="Choose Preparation Metadata..." multiple class="chosen-select" id="prep-metadata-{{study.id}}">
229-
{% for field in metadata[study.id]['prep'] %}
231+
{% for field in sorted(metadata[study.id]['prep']) %}
230232
<option value="{{field}}">{{field}}</option>
231233
{% end %}
232234
</td>

0 commit comments

Comments
 (0)