openstreetmap-website/app/views/oauth_clients/_form.html.erb
Andy Allan adfb4dc619 Refactor client application pages to use bootstrap forms
Also rework the client application show page to be responsive
2020-08-19 16:58:43 +02:00

11 lines
294 B
Text

<%= f.text_field :name %>
<%= f.text_field :url %>
<%= f.text_field :callback_url %>
<%= f.text_field :support_url %>
<div class='form-group'>
<p><%= t ".requests" %></p>
<% ClientApplication.all_permissions.each do |perm| %>
<%= f.check_box perm %>
<% end %>
</div>
<%= f.primary %>