X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e222329d043592af299eed12cf6ad16969c1b46f..dd29af0ec4adc05f1e6f6be0af0c23724492aef8:/app/views/oauth2_applications/_form.html.erb 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 %>