<div class="container">
  <h2>Taxon Info</h2>

  <ul class="nav nav-tabs">
    <li class="active">
      <a data-toggle="tab" href="#home">Home</a>
    </li>
    <% @iconic_taxon_names.each do |taxon| %>
      <% if !taxon.empty? %>
        <li>
          <a data-toggle="tab" href="#<%= taxon.first.iconic_taxon_name %>"><%= taxon[0].iconic_taxon_name %></a>
        </li>
      <% end %>
  </ul>
   <div class="tab-content">
     <div id="home" class="tab-pane fade in active">
       <p>This is home.</p>
     </div>

     <% if !taxon.empty? %>
       <div id="<%= taxon.first.iconic_taxon_name %>" class="tab-pane fade">
         <%= erb :"partials/_results", :layout => false, :locals => {:taxon => taxon}  %>
       </div>
       <% end %>
   <% end %>

  </div>
</div>

<div class="container">
  <h2>Taxon Info</h2>

  <ul class="nav nav-tabs">
    <li class="active">
      <a data-toggle="tab" href="#home">Home</a>
    </li>
    <% @iconic_taxon_names.each do |taxon| %>
      <% if !taxon.empty? %>
        <li>
          <a data-toggle="tab" href="#<%= taxon.first.iconic_taxon_name %>"><%= taxon.first.iconic_taxon_name %></a>
        </li>
      <% end %>
    <% end %>
  </ul>
   <!-- <div class="tab-content">
     <div id="home" class="tab-pane fade in active">
       <p>This is home.</p>
     </div> -->

     <%# if !taxon.empty? %>
       <!-- <div id="<%#= taxon.first.iconic_taxon_name %>" class="tab-pane fade">
         <%#= erb :"partials/_results", :layout => false, :locals => {:taxon => taxon}  %>
       </div>
       <%# end %>
       </div> -->
   <%# end %>


</div>

Comment out certain divs to make tabs functional
Comment out certain divs to make tabs functional
