1 <div class='standard-form'>
4 <label class='standard-label' for="client_application_name"><%= t'oauth_clients.form.name' %> (<%= t'oauth_clients.form.required' %>)</label>
5 <%= f.text_field :name %>
8 <label class='standard-label' for="client_application_url"><%= t'oauth_clients.form.url' %> (<%= t'oauth_clients.form.required' %>)</label>
9 <%= f.text_field :url %>
11 <div class="form-row">
12 <label class='standard-label' for="client_application_callback_url"><%= t'oauth_clients.form.callback_url' %></label>
13 <%= f.text_field :callback_url %>
15 <div class="form-row">
16 <label class='standard-label' for="client_application_support_url"><%= t'oauth_clients.form.support_url' %></label>
17 <%= f.text_field :support_url %>
20 <fieldset class='form-divider'>
21 <p><%= t'oauth_clients.form.requests' %></p>
22 <% ClientApplication.all_permissions.each do |perm| %>
23 <div class="form-row">
24 <%= f.check_box perm %>
25 <label class='standard-label' for="client_application_<%= perm.to_s %>"><%= t('oauth_clients.form.' + perm.to_s) %></label>