X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/05e212027339733cf39aa9b7536c3f5f69ba0962..efa2c20bff4d68cfdaf5fc532ba5eb0711e7cd2d:/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 e55b016e9..4c4b2c519 100644 --- a/app/views/oauth_clients/_form.html.erb +++ b/app/views/oauth_clients/_form.html.erb @@ -1,40 +1,29 @@ -
-
- <%= f.text_field :name %> -
-
-
- <%= f.text_field :url %> -
-
-
- <%= f.text_field :callback_url %> -
-
-
- <%= f.text_field :support_url %> -
-
- <%= 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.text_field :name %> +
+
+ + <%= f.text_field :url %> +
+
+ + <%= f.text_field :callback_url %> +
+
+ + <%= f.text_field :support_url %> +
+
+
+

<%= t ".requests" %>

+ <% ClientApplication.all_permissions.each do |perm| %> +
+ <%= f.check_box perm %> + +
+ <% end %> +