<%= form_tag(all_batch_edits_path, :method => :put, :class=> "batch-select-all hidden", "data-behavior" => 'batch-select-all') do -%> <%= submit_tag(label, :class=>'batch-all-button btn') %> <% end %>