aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2020-12-28 15:14:32 -0600
committerzsloan2020-12-28 15:14:32 -0600
commitab9aebc567d1a10282ae55f282993a3fa9dd3582 (patch)
tree0483f9228981762c46ba2fcd3093c326db7a0384 /wqflask
parent3241a8de759f18bbbc73bd755419831db37e71a0 (diff)
downloadgenenetwork2-ab9aebc567d1a10282ae55f282993a3fa9dd3582.tar.gz
Changed correlation options to always show the location field and both location_type options, since one or the other will always apply
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/show_trait_calculate_correlations.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/templates/show_trait_calculate_correlations.html b/wqflask/wqflask/templates/show_trait_calculate_correlations.html
index 46232b97..cba977ac 100644
--- a/wqflask/wqflask/templates/show_trait_calculate_correlations.html
+++ b/wqflask/wqflask/templates/show_trait_calculate_correlations.html
@@ -84,12 +84,12 @@
<label for="location_type" class="col-xs-2 control-label">Location Type</label>
<div class="col-xs-4 controls">
<select name="location_type" class="form-control">
- {% if dataset.type != 'Publish' %}<option value="gene">Gene</option>{% endif %}
+ <option value="gene" {% if dataset.type == 'Publish' %}disabled{% endif %}>Gene</option>
<option value="highest_lod">Highest LOD</option>
</select>
</div>
</div>
- <div id="location_filter" class="form-group" style="display: {% if dataset.type != 'Publish' %}block{% else %}none{% endif %};">
+ <div id="location_filter" class="form-group">
<label class="col-xs-2 control-label">Location</label>
<div class="col-xs-6 controls">
<span>