1 <%= f.text_field :name %>
2 <%= f.text_area :redirect_uri %>
3 <%= f.form_group :confidential do %>
4 <%= f.check_box :confidential %>
6 <%= f.collection_check_boxes :scopes, Oauth.scopes(:oauth2 => true, :privileged => current_user.administrator?), :name, :description %>