Sha256: a767aa290124213874767bae43cea37cf651a1367c76ee1ee1a457bfe4fb359e

Contents?: true

Size: 1.6 KB

Versions: 33

Compression:

Stored size: 1.6 KB

Contents

<%= render 'account/shared/page' do |p| %>
  <% p.content_for :title, t('.section') %>
  <% p.content_for :body do %>
    <%= render 'account/shared/box', divider: true do |p| %>
      <% p.content_for :title, t('.header') %>
      <% p.content_for :description do %>
        <%= t('.description') %>
      <% end %>

      <% p.content_for :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 %>

      <% p.content_for :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 %>

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
bullet_train-api-1.2.20 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.19 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.18 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.17 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.16 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.15 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.14 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.13 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.12 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.11 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.10 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.9 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.8 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.7 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.6 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.5 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.4 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.3 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.2 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.2.1 app/views/account/platform/applications/show.html.erb