Sha256: 5d114a5c476863fd712aa478f840d60fe3c5ea7cf72000e60c360fbcd0a45a39

Contents?: true

Size: 1.75 KB

Versions: 117

Compression:

Stored size: 1.75 KB

Contents

<%= render 'account/shared/page' do |page| %>
  <% page.title t('.section') %>
  <% page.body do %>
    <%= cable_ready_updates_for @access_token do %>
      <%= render 'account/shared/box', divider: true do |box| %>
        <% box.title t('.header') %>
        <% box.description do %>
          <%= t('.description') %>
          <%= t('.manage_description') if can? :manage, @access_token %>
        <% end %>

        <% box.body do %>
          <% with_attribute_settings object: @access_token, strategy: :label do %>
            <%= render 'shared/attributes/text', attribute: :token %>
            <%= render 'shared/attributes/date_and_time', attribute: :last_used_at %>
            <%= render 'shared/attributes/text', attribute: :description %>
            <%# 🚅 super scaffolding will insert new fields above this line. %>
          <% end %>
        <% end %>

        <% box.actions do %>
          <%= link_to t('.buttons.edit'), [:edit, :account, @access_token], class: first_button_primary if can? :edit, @access_token %>
          <%# 🚅 super scaffolding will insert new action model buttons above this line. %>
          <%= button_to t('.buttons.destroy'), [:account, @access_token], method: :delete, class: first_button_primary, data: { confirm: t('.buttons.confirmations.destroy', model_locales(@access_token)) } if can? :destroy, @access_token %>
          <%= link_to t('global.buttons.back'), [:account, @application, :access_tokens], class: first_button_primary %>
        <% end %>

        <% box.raw_footer do %>
          <%# 🚅 super scaffolding will insert new action model index views above this line. %>
        <% end %>
      <% end %>
    <% end %>

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

Version data entries

117 entries across 117 versions & 1 rubygems

Version Path
bullet_train-api-1.6.15 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.6.14 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.6.13 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.6.12 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.6.11 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.6.10 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.6.9 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.6.8 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.6.7 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.6.6 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.6.5 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.6.4 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.6.3 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.6.2 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.6.1 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.6.0 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.5.2 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.5.1 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.5.0 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.4.11 app/views/account/platform/access_tokens/show.html.erb