%
# headmin/table/actions
#
# The form action url is dynamically set when switching between actions.
#
# ==== Examples
# Basic version
# <%= render 'headmin/table/actions' do %#>
# <%= render 'headmin/table/actions/delete', url: destroy_admin_pages_path %#>
# <% end %#>
selection_count = content_for(:collection_total_count).to_i || 0
%>
<% content_for :table_actions do %>
<%= form_with url: '', data: { 'table-actions-target': 'form' } do |form| %>
<%= form.hidden_field :authenticity_token, value: form_authenticity_token %>
<%= form.hidden_field :_method, value: 'POST', 'data-table-actions-target': 'method' %>
<%= query_parameter_fields(form) %>
<%= form.hidden_field :ids, value: 'ID', multiple: true, 'data-table-actions-target': 'id' %>
<% end %>
|
<% end %>