<% tabs.each do |tab|
tab_class = ""
tab_class = "active" if tab.name == @current_child_id
%>
-
<%- if @cell.responds_to_url_change? %>
<%= link_to_function tab.title, update_url(@cell.url_fragment_for_tab(tab)) %>
<%- else %>
<%= link_to_event tab.title, {:type => :switchChild, @cell.param_name => tab.name} %>
<% end %>
<% end -%>
<%= rendered_children.first %>