11927: Remove errant type attr from anchor element.
authorTom Clegg <tom@curoverse.com>
Wed, 5 Jul 2017 21:30:28 +0000 (17:30 -0400)
committerTom Clegg <tom@curoverse.com>
Wed, 5 Jul 2017 21:30:28 +0000 (17:30 -0400)
Anchor elements do have a "type" attribute, but it specifies a MIME
type, not a data/control type like "button" as with input elements.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curoverse.com>

apps/workbench/app/views/collections/_show_tags.html.erb

index fd734c82dc05ad14e1603519b096b197a706aaa5..afab5266e9c2e46dbe5c84425ba9f42b7f41f544 100644 (file)
@@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0 %>
   <div class="collection-tags-container" style="padding-left:2em;padding-right:2em;">
     <% if object.editable? %>
       <p title="Edit tags" id="edit-collection-tags">
   <div class="collection-tags-container" style="padding-left:2em;padding-right:2em;">
     <% if object.editable? %>
       <p title="Edit tags" id="edit-collection-tags">
-        <a type="button" class="btn btn-primary edit-collection-tags">Edit</a>
+        <a class="btn btn-primary edit-collection-tags">Edit</a>
       </p>
     <% end %>
 
       </p>
     <% end %>