X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/77d9504c4a5328ce47535e8c6692cb718add1a20..b88ef1f92a3140a9be37ed09c72175eee87fe071:/apps/workbench/app/views/application/_index.html.erb
diff --git a/apps/workbench/app/views/application/_index.html.erb b/apps/workbench/app/views/application/_index.html.erb
index 9d77c4983f..07368a51d9 100644
--- a/apps/workbench/app/views/application/_index.html.erb
+++ b/apps/workbench/app/views/application/_index.html.erb
@@ -1,3 +1,11 @@
+
<%= controller.model_class.to_s.pluralize.underscore.capitalize.gsub '_', ' ' %>
+
+<% if controller.model_class.creatable? %>
+<%= button_to "Add a new #{controller.model_class.to_s.underscore.gsub '_', ' '}",
+ { action: 'create', return_to: request.url },
+ { class: 'btn btn-primary pull-right' } %>
+<% end %>
+
<% if @objects.empty? %>
@@ -6,8 +14,6 @@
<% else %>
-
<%= controller.model_class.to_s.pluralize.underscore.capitalize.gsub '_', ' ' %>
-
<% attr_blacklist = ' created_at modified_at modified_by_user_uuid modified_by_client_uuid updated_at' %>
@@ -63,6 +69,3 @@
<% end %>
-<% if controller.model_class.creatable? %>
-<%= button_to "Add a new #{controller.model_class.to_s.underscore.gsub '_', ' '}", { action: 'create', return_to: request.url }, { class: 'btn btn-primary' } %>
-<% end %>