X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e0b175d3bd3ef655a20273dc2b7f04a8a34bb5f6..266818200b799725f368d2aee67cc5683af44550:/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 bb0506671..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 '.requests' %>

- <% ClientApplication.all_permissions.each do |perm| %> -
- <%= f.check_box perm %> - -
- <% end %> -
+<%= 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 %>