X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e222329d043592af299eed12cf6ad16969c1b46f..5995e2b3239b6d51d2403c81087b95034af1a8af:/app/views/oauth2_applications/_form.html.erb?ds=inline diff --git a/app/views/oauth2_applications/_form.html.erb b/app/views/oauth2_applications/_form.html.erb index c61d351b7..51267c069 100644 --- a/app/views/oauth2_applications/_form.html.erb +++ b/app/views/oauth2_applications/_form.html.erb @@ -1,7 +1,7 @@ <%= f.text_field :name %> -<%= f.text_area :redirect_uri, :help => t(".redirect_uri_help") %> -<%= f.form_group :confidential, :help => t(".confidential_help") do %> +<%= f.text_area :redirect_uri %> +<%= f.form_group :confidential do %> <%= f.check_box :confidential %> <% end %> -<%= f.collection_check_boxes :scopes, Oauth.scopes, :name, :description %> +<%= f.collection_check_boxes :scopes, Oauth.scopes(:oauth2 => true, :privileged => current_user.administrator?), :name, :description %> <%= f.primary %>