Merge branch '19954-permission-dedup-doc'
[arvados.git] / apps / workbench / app / views / application / _show_attributes.html.erb
index a2e05484ac4b22a1f5fa598d76f256ce44594d40..c48428e71fbe63cfa3f393f3ee6185691c25a377 100644 (file)
@@ -1,19 +1,17 @@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
 <%= form_for @object do |f| %>
 <table class="table topalign">
   <thead>
   </thead>
   <tbody>
     <% @object.attributes_for_display.each do |attr, attrvalue| %>
-      <% if %w(uuid owner_uuid created_at modified_at modified_by_user_uuid modified_by_client_uuid updated_at).include? attr.to_s %>
-        <%= render partial: 'application/arvados_object_attr', locals: { attr: attr, attrvalue: attrvalue } %>
-      <% end %>
-    <% end %>
-    <% @object.attributes_for_display.each do |attr, attrvalue| %>
-      <% if not %w(uuid owner_uuid created_at modified_at modified_by_user_uuid modified_by_client_uuid updated_at).include? attr.to_s %>
-        <%= render partial: 'application/arvados_object_attr', locals: { attr: attr, attrvalue: attrvalue } %>
-        <% end %>
+    <%= render partial: 'application/arvados_object_attr', locals: { attr: attr, attrvalue: attrvalue } %>
     <% end %>
   </tbody>
 </table>
 
 <% end %>
+