Modified: branches/galaxy-integration/app/views/workflows/galaxy/_run_options.rhtml (2979 => 2980)
--- branches/galaxy-integration/app/views/workflows/galaxy/_run_options.rhtml 2012-03-28 09:06:47 UTC (rev 2979)
+++ branches/galaxy-integration/app/views/workflows/galaxy/_run_options.rhtml 2012-03-28 11:48:22 UTC (rev 2980)
@@ -19,9 +19,11 @@
</style>
<div class="galaxy_import_form">
<div class="header">Import this workflow into Galaxy</div>
- <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] -%>"/>
+ <form action="" session[:return_url].chomp("/") -%>/workflow/import_workflow" method="POST" name="import_workflow">
+ <input type="hidden" name="workflow_source" value="<%= Conf.sitename -%>"/>
+ <textarea name="workflow_text" style="display: none">
+ <%= @viewing_version.content_blob.data -%>
+ </textarea>
<input type="submit" value="Import" name="import_button"/>
</form>
</div>