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