Sha256: c61c98a3c6fcfdfb5f02f3b2dcd92d1c7b2faa58efbbd30a282885637a288693

Contents?: true

Size: 1.58 KB

Versions: 18

Compression:

Stored size: 1.58 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') %>
        <%= t('.manage_description') if can? :manage, @application %>
      <% 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 %>
          <%= render 'shared/attributes/text', attribute: :scopes %>
          <%= 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 %>

    <%# 🚅 super scaffolding will insert new children above this line. %>
  <% end %>
<% end %>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
bullet_train-api-1.1.2 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.1.1 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.1.0 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.0.17 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.0.16 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.0.15 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.0.14 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.0.13 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.0.12 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.0.8 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.0.7 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.0.6 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.0.5 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.0.4 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.0.3 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.0.2 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.0.1 app/views/account/platform/applications/show.html.erb
bullet_train-api-1.0.0 app/views/account/platform/applications/show.html.erb