Sha256: 5d114a5c476863fd712aa478f840d60fe3c5ea7cf72000e60c360fbcd0a45a39

Contents?: true

Size: 1.75 KB

Versions: 114

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

114 entries across 114 versions & 1 rubygems

Version Path
bullet_train-api-1.14.0 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.13.0 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.12.3 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.12.2 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.12.1 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.12.0 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.11.0 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.10.0 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.9.0 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.8.5 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.8.4 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.8.3 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.8.2 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.8.1 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.8.0 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.7.23 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.7.22 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.7.21 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.7.20 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.7.19 app/views/account/platform/access_tokens/show.html.erb