about summary refs log tree commit diff
diff options
context:
space:
mode:
-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>