Modified: branches/galaxy-integration/app/views/workflows/galaxy/_run_options.rhtml (2977 => 2978)
--- branches/galaxy-integration/app/views/workflows/galaxy/_run_options.rhtml 2012-03-28 09:04:43 UTC (rev 2977)
+++ branches/galaxy-integration/app/views/workflows/galaxy/_run_options.rhtml 2012-03-28 09:05:38 UTC (rev 2978)
@@ -19,8 +19,9 @@
</style>
<div class="galaxy_import_form">
<div class="header">Import this workflow into Galaxy</div>
- <form action="" session[:return_url].chomp("/") -%>/workflow/import_workflow" method="POST" name="import_workflow">
- <input type="hidden" name="url" value="<%= download_workflow_url(@workflow, :disposition => :inline) -%>"/>
+ <form action="" session[:return_url].chomp("/") -%>/workflow/import_from_myexp" method="POST" name="import_from_myexp">
+ <input type="hidden" name="myexp_id" value="<%= @workflow.id -%>"/>
+ <input type="hidden" name="myexp_cookie" value="<%= cookies[:myexperiment_session] -%>"/>
<input type="submit" value="Import" name="import_button"/>
</form>
</div>