<div class="btn-group btn-group-sm">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Selection... <span class="caret"></span></button>
<ul class="dropdown-menu" role="menu">
- <li><%= link_to "Compare selected", '#',
+ <li><%= link_to "Combine selections into a new collection", '/combine_selected',
+ 'data-href' => url_for('/combine_selected'),
+ 'data-selection-param-name' => 'selection[]',
+ 'data-selection-action' => 'combine',
+ 'data-remote' => true,
+ 'data-toggle' => 'dropdown'
+ %></li>
+ <li><%= link_to "Compare selected", 'action',
'data-href' => compare_pipeline_instances_path,
'data-selection-param-name' => 'uuids[]',
'data-selection-action' => 'compare'
post 'actions' => 'actions#post'
get 'actions' => 'actions#show'
get 'websockets' => 'websocket#index'
+ get 'combine_selected' => 'actions#combine_selected_files_into_collection', :as => :combine_selected
root :to => 'projects#index'