diff options
author | zsloan | 2020-12-28 15:14:32 -0600 |
---|---|---|
committer | zsloan | 2020-12-28 15:14:32 -0600 |
commit | ab9aebc567d1a10282ae55f282993a3fa9dd3582 (patch) | |
tree | 0483f9228981762c46ba2fcd3093c326db7a0384 | |
parent | 3241a8de759f18bbbc73bd755419831db37e71a0 (diff) | |
download | genenetwork2-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
-rw-r--r-- | wqflask/wqflask/templates/show_trait_calculate_correlations.html | 4 |
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> |