<%= render 'account/shared/page' do |page| %> <% page.title t('.section') %> <% page.body do %> <%= render 'account/shared/box', divider: true do |box| %> <% box.t :description, title: '.header' %> <% box.body do %> <% with_attribute_settings object: @application, strategy: :label do %> <%= render 'shared/attributes/text', attribute: :name %> <%= render 'shared/attributes/code', attribute: :uid %> <%= render 'shared/attributes/code', attribute: :secret, secret: true %> <%= render 'shared/attributes/text', attribute: :redirect_uri %> <%# 🚅 super scaffolding will insert new fields above this line. %> <% end %> <% end %> <% box.actions do %> <%= link_to t('.buttons.edit'), [:edit, :account, @application], class: first_button_primary if can? :edit, @application %> <%= button_to t('.buttons.destroy'), [:account, @application], method: :delete, class: first_button_primary, data: { confirm: t('.buttons.confirmations.destroy', model_locales(@application)) } if can? :destroy, @application %> <%= link_to t('global.buttons.back'), [:account, @team, :platform_applications], class: first_button_primary %> <% end %> <% end %> <%= render 'account/platform/access_tokens/index', access_tokens: @application.access_tokens.accessible_by(current_ability), hide_back: true %> <%# 🚅 super scaffolding will insert new children above this line. %> <% end %> <% end %>