anchor.diff:                  <h4><%= type.capitalize %> databases</h4>
                 </div>
                 <% if type.include? "nucleotide" %>
  -                <div style="margin-top:10px"><div style="float:left;margin:5px;margin-top:-3px"><input type="checkbox" name="all_transcript"/></div><h5>All transcript databases</h5></div>
  +                <div style="margin-top:20px"><div style="float:left;margin:5px;margin-top:-3px"><input type="checkbox" onClick="toggle(this,'transcripts')"/></div><h5>All transcript databases</h5></div>
                 <% end %>
                 <ul
                   class="list-group databases <%= type %>">
  
positive.code:                 <% end %>
                </ul>
                <% if type.include? "nucleotide" %>
                  <div style="margin-top:10px"><div style="float:left;margin:5px;margin-top:-3px"><input type="checkbox" name="all_scaffold"/></div><h5>All scaffold databases</h5></div>
                <% else %>
                  <div style="margin-top:10px"><div style="float:left;margin:5px;margin-top:-3px"><input type="checkbox" name="all_protein"/></div><h5>All protein databases</h5></div>
                <% end %>
                <ul
                  class="list-group databases <%= type %>">
  
negative.code:         </div>
  
        </div>
  <script language="JavaScript">
  function toggle(source,toggleclass) {
    checkboxes = document.getElementsByClass(toggleclass);
    for each(var checkbox in checkboxes)
      checkbox.checked = source.checked;
  }
  </script>
        <div
          class="form-group databases-container">
          <%# sort => same ordering of nucleotide and protein datbases %>
  