<% if params[:message].present? %>
<%= params[:message] %>
<% end %>
<% project_filters, chooser_filters = (params[:filters] || []).partition do |attr, op, val|
attr == "owner_uuid" and op == "="
end %>
<% preview_pane = (params[:preview_pane].to_s != "false") %>
data-infinite-content-params-from-project-dropdown="<%= {filters: project_filters, project_uuid: project_filters.last.last}.to_json %>"
<% end %>
<%
action_data = JSON.parse params['action_data'] if params['action_data']
use_preview_sel = action_data ? action_data['use_preview_selection'] : false
%>
data-infinite-content-href="<%= url_for partial: true,
use_preview_selection: use_preview_sel %>">
<% if preview_pane %>
<% end %>