<% # 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 %#> %> <% 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) %>
<% end %> <% end %>