Which permission to change?

<%= select_tag :privilege, options_for_select(@privileges.map {|p| [human_privilege(p), p.to_s]}.sort, @privilege.to_s) %>
<%= select_tag :context, options_for_select(@contexts.map {|c| [human_context(c), c.to_s]}.sort, @context.to_s) %>
<%= link_to_function "Show current permissions", "show_current_permissions()", :class => 'unimportant' %>

How many users should be affected?
<%= radio_button_tag :affected_users, :few, params[:affected_users] == 'few' %> <%= radio_button_tag :affected_users, :many, params[:affected_users] == 'many' %>

Whose permission should be changed?

<% @users.each do |user| %> <% end %>
User Current roles ? Yes No
<%=h user.id %> <%=h user.login %> <%=h user.role_symbols.map {|r| human_role(r)} * ', ' %> <%= radio_button_tag "user[#{user.id}][permission]", "undetermined", true %> <%= radio_button_tag "user[#{user.id}][permission]", "yes" %> <%= radio_button_tag "user[#{user.id}][permission]", "no" %>
    Current permission

Prohibited actions

<%= button_to_function "Suggest Changes", "suggest_changes()" %>