%= simple_form_for(@user) do |f| %> <%= f.input :name %> <%= f.input :email %> <% if current_user.admin? %> <%= f.collection_select :roles, Cas::User::ROLES, :to_s, :humanize %>