X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e222329d043592af299eed12cf6ad16969c1b46f..e108ec6d48e4e2ec5f7c6451fde7328adcb1c7cd:/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..7fde3e0e7 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(:privileged => current_user.administrator?), :name, :description %> <%= f.primary %>