1 <%# Copyright (C) The Arvados Authors. All rights reserved.
3 SPDX-License-Identifier: AGPL-3.0 %>
6 tags = object.properties
8 <% if tags.andand.is_a?(Hash) %>
9 <% tags.each do |k, v| %>
10 <tr class="collection-tag-<%=k%>">
12 <% if object.editable? %>
13 <i class="glyphicon glyphicon-remove collection-tag-remove hide" style="cursor: pointer;"></i>
16 <td class="collection-tag-field collection-tag-field-key">
19 <td class="collection-tag-field collection-tag-field-value">
26 <% if @object.editable? %>
27 <!-- A hidden row to add new tag -->
28 <tr class="collection-tag-hidden hide">
30 <i class="glyphicon glyphicon-remove collection-tag-remove hide" style="cursor: pointer"></i>
32 <td class="collection-tag-field collection-tag-field-key"></td>
33 <td class="collection-tag-field collection-tag-field-value"></td>