]> git.openstreetmap.org Git - rails.git/blob - app/views/oauth_clients/_form.html.erb
Make it possible to associate an openID during account creation
[rails.git] / app / views / oauth_clients / _form.html.erb
1 <div class="field">
2   <label for="client_application_name"><%= t'oauth_clients.form.name' %> (<%= t'oauth_clients.form.required' %>)</label><br/>
3   <%= f.text_field :name %>
4 </div>
5 <div class="field">
6   <label for="client_application_url"><%= t'oauth_clients.form.url' %> (<%= t'oauth_clients.form.required' %>)</label><br/>
7   <%= f.text_field :url %>
8 </div>
9 <div class="field">
10   <label for="client_application_callback_url"><%= t'oauth_clients.form.callback_url' %></label><br/>
11   <%= f.text_field :callback_url %>
12 </div>
13 <div class="field">
14   <label for="client_application_support_url"><%= t'oauth_clients.form.support_url' %></label><br/>
15   <%= f.text_field :support_url %>
16 </div>
17 <p><%= t'oauth_clients.form.requests' %></p>
18 <% ClientApplication.all_permissions.each do |perm| %>
19 <div class="field">
20   <%= f.check_box perm %>
21   <label for="client_application_<%= perm.to_s %>"><%= t('oauth_clients.form.' + perm.to_s) %></label><br/>
22 </div>
23 <% end %>