X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/965565ddc62635928a6b043158fd683738961c8c..1595481c3e4cc42cfa5a47bbe501eb6e6f83db9f:/apps/workbench/app/views/container_requests/_extra_tab_line_buttons.html.erb?ds=sidebyside diff --git a/apps/workbench/app/views/container_requests/_extra_tab_line_buttons.html.erb b/apps/workbench/app/views/container_requests/_extra_tab_line_buttons.html.erb index 662309ffe8..049be759be 100644 --- a/apps/workbench/app/views/container_requests/_extra_tab_line_buttons.html.erb +++ b/apps/workbench/app/views/container_requests/_extra_tab_line_buttons.html.erb @@ -1,10 +1,44 @@ <% if @object.state == 'Final' %> - <%= link_to(copy_container_request_path('id' => @object.uuid), - class: 'btn btn-primary', - title: 'Re-run', - 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 %> - Re-run - <% end %> + + + <%= link_to raw(' Re-run...'), + "#", + {class: 'btn btn-sm btn-primary', 'data-toggle' => 'modal', + 'data-target' => '#clone-and-edit-modal-window', + title: 'This will make a copy and take you there. You can then make any needed changes and run it'} %> + +
+ <% end %>