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
1 <% if @object.state == 'Final' %>
2   <%= link_to(copy_container_request_path('id' => @object.uuid, 'no_reuse' => true),
3       class: 'btn btn-sm btn-primary',
4       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',
5       method: :post,
6       ) do %>
7     <i class="fa fa-fw fa-play"></i> Re-run without reuse
8   <% end %>
9   <%= link_to(copy_container_request_path('id' => @object.uuid),
10       class: 'btn btn-sm btn-primary',
11       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',
12       method: :post,
13       ) do %>
14     <i class="fa fa-fw fa-play"></i> Re-run
15   <% end %>
16 <% end %>