<%= form_tag role_form_url, remote: true do %>
<%= submit_tag t(:submit), class: "btn btn-primary" %>
<%= hidden_field_tag field, @field %>
<% end %>
<% @sorted_users.each do |role, users| %>
<%= form_tag user_form_url, remote: true do %>
<% end %>
<% end %>