]> git.openstreetmap.org Git - rails.git/blob - app/views/oauth2_applications/_form.html.erb
Merge remote-tracking branch 'upstream/pull/7190'
[rails.git] / app / views / oauth2_applications / _form.html.erb
1 <%# locals: (f:) %>
2
3 <%= f.text_field :name %>
4 <%= f.text_area :redirect_uri, :autocorrect => "off", :autocapitalize => "off" %>
5 <%= f.form_group :confidential do %>
6   <%= f.check_box :confidential %>
7 <% end %>
8 <%= f.collection_check_boxes :scopes, Oauth.scopes(:privileged => current_user.administrator?), :name, :description %>
9 <%= f.primary %>