X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b8f6dbd403507edd14f04f3151c285e232607360..e5c80c80ade40c3360f49eb70a9db8464ffa9169:/app/views/oauth_clients/_form.html.erb diff --git a/app/views/oauth_clients/_form.html.erb b/app/views/oauth_clients/_form.html.erb index 6f0af1e28..dc8f8e3d9 100644 --- a/app/views/oauth_clients/_form.html.erb +++ b/app/views/oauth_clients/_form.html.erb @@ -1,40 +1,23 @@
-
- <%= f.text_field :name %> +
+ <%= f.text_field :name %>
-
- <%= f.text_field :url %> +
+ <%= f.text_field :url %>
-
- <%= f.text_field :callback_url %> +
+ <%= f.text_field :callback_url %>
-
- <%= f.text_field :support_url %> +
+ <%= f.text_field :support_url %>
+

<%= t'oauth_clients.form.requests' %>

+<% ClientApplication.all_permissions.each do |perm| %>
-
- <%= f.check_box :allow_read_prefs %> -
-
-
- <%= f.check_box :allow_write_prefs %> -
-
-
- <%= f.check_box :allow_write_diary %> -
-
-
- <%= f.check_box :allow_write_api %> -
-
-
- <%= f.check_box :allow_read_gpx %> -
-
-
- <%= f.check_box :allow_write_gpx %> + <%= f.check_box perm %> +
+<% end %>