app/views/admin/users/_form.html.erb
<%= simple_form_for([:admin, user], html: { class: 'admin-user-form' }) do |f| %>
<%= f.input :name %>
<%= f.input :email %>
<%= f.input :role, collection: User.roles.except(:guest).keys, label_method: :titleize %>
<%= f.input :school_id, collection: @schools, hint: 'For staff and school admins'%>
<%= f.input :school_group_id, collection: @school_groups, hint: 'For group admins'%>
<%= f.association :cluster_schools, collection: @schools, hint: 'For school admins' %>
<%= f.input :staff_role_id, label: 'Staff role', collection: StaffRole.order(:title), label_method: :title, hint: 'For school admins and staff'%>
<%= f.submit class: 'btn btn-primary' %>
<% end %>