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 |
<%= button_to "Suggest Changes", '#', onclick: "suggest_changes()" %>