1 <div class='standard-form'>
4 <label class='standard-label' for="client_application_name"><%= t '.name' %> (<%= t '.required' %>)</label>
5 <%= f.text_field :name %>
8 <label class='standard-label' for="client_application_url"><%= t '.url' %> (<%= t '.required' %>)</label>
9 <%= f.text_field :url %>
11 <div class="form-row">
12 <label class='standard-label' for="client_application_callback_url"><%= t '.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 '.support_url' %></label>
17 <%= f.text_field :support_url %>
20 <fieldset class='form-divider'>
21 <p><%= t '.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('.' + perm.to_s) %></label>