1 <% object ||= @object %>
2 <% if attrvalue.is_a? Hash then attrvalue.each do |infokey, infocontent| %>
4 <td><%= attr %>[<%= infokey %>]</td>
6 <%= render partial: 'application/arvados_attr_value', locals: { obj: object, attr: nil, attrvalue: infocontent } %>
10 <% elsif attrvalue.is_a? String or attrvalue.respond_to? :to_s %>
11 <tr class="<%= 'info' if %w(uuid owner_uuid created_at modified_at modified_by_user_uuid modified_by_client_uuid updated_at).include?(attr.to_s) %>">
14 <%= render partial: 'application/arvados_attr_value', locals: { obj: object, attr: attr, attrvalue: attrvalue } %>