11185: Added "Re-run without reuse" button to the completed CR page, so that it
[arvados.git] / apps / workbench / app / views / container_requests / _extra_tab_line_buttons.html.erb
index 662309ffe8e11df264b31f769b43f8612edacf70..46f4bc919d50f00f93876668ac0d5ede2c526ed8 100644 (file)
@@ -1,7 +1,13 @@
 <% if @object.state == 'Final' %>
+  <%= link_to(copy_container_request_path('id' => @object.uuid, 'no_reuse' => true),
+      class: 'btn btn-sm btn-primary',
+      data: {toggle: :tooltip, placement: :top}, title: 'This will make a copy and take you there. You can then make any needed changes and run it without container reuse',
+      method: :post,
+      ) do %>
+    <i class="fa fa-fw fa-play"></i> Re-run without reuse
+  <% end %>
   <%= link_to(copy_container_request_path('id' => @object.uuid),
-      class: 'btn btn-primary',
-      title: 'Re-run',
+      class: 'btn btn-sm btn-primary',
       data: {toggle: :tooltip, placement: :top}, title: 'This will make a copy and take you there. You can then make any needed changes and run it',
       method: :post,
       ) do %>