- </td><td>
- <% if @collection_info[c.uuid][:wanted_by_me] %>
- <span class="label label-info">2×</span>
- <% elsif @collection_info[c.uuid][:wanted] %>
- <span class="label">2×</span>
- <% else %>
- <span class="label">cache</span>
+ </td>
+ <td>
+ <%= c.created_at.to_s if c.created_at %>
+ </td>
+ <td class="add-tag-button">
+ <a class="btn btn-xs btn-info add-tag-button pull-right" data-remote-href="<%= url_for(controller: 'links', action: 'create') %>" data-remote-method="post"><i class="glyphicon glyphicon-plus"></i> Add</a>
+ <span class="removable-tag-container">
+ <% if @collection_info[c.uuid] %>
+ <% @collection_info[c.uuid][:tag_links].each do |tag_link| %>
+ <span class="label label-info removable-tag" data-tag-link-uuid="<%= tag_link.uuid %>"><%= tag_link.name %>
+ <% if tag_link.owner_uuid == current_user.andand.uuid %>
+ <a title="Delete tag"><i class="glyphicon glyphicon-trash"></i></a>
+ <% end %>
+ </span>
+ <% end %>