% content_for :tab_panes do %>
<% comparable = controller.respond_to? :compare %>
<% pane_list.each_with_index do |pane, i| %>
<% pane_name = (pane.is_a?(Hash) ? pane[:name] : pane) %>
data-object-kind="arvados#<%= ArvadosApiClient.class_kind controller.model_class %>"
<% else %>
data-object-uuid="<%= @object.uuid %>"
<% end %>
data-pane-content-url="<%= url_for(params.merge(tab_pane: pane_name)) %>"
style="margin-top:0.5em;"
>
<% if i == 0 %>
<%= render_pane pane_name, to_string: true %>
<% else %>
<% end %>
<% end %>
<% end %>