X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/15b104f4ff4614aa78c01180b6a9b89dd5a1400f..cd21be0c12af042b18b19e84d6e0713124ec7f72:/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 96ab68ad7..e13f4110f 100644 --- a/app/views/oauth_clients/_form.html.erb +++ b/app/views/oauth_clients/_form.html.erb @@ -1,29 +1,11 @@ -
-
-
- - <%= f.text_field :name %> -
-
- - <%= f.text_field :url %> -
-
- - <%= f.text_field :callback_url %> -
-
- - <%= f.text_field :support_url %> -
-
-
-

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

- <% ClientApplication.all_permissions.each do |perm| %> -
- <%= f.check_box perm %> - -
- <% end %> -
-
\ No newline at end of file +<%= 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 %> +
+<%= f.primary %>