Sha256: f745c853490e1d02e1ebabf4a43e987670c0e01a7a8010ca58f625630ced1827

Contents?: true

Size: 1.74 KB

Versions: 8

Compression:

Stored size: 1.74 KB

Contents

<%= render 'account/shared/page' do |page| %>
  <% page.title t('.section') %>
  <% page.body do %>
    <%= 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

8 entries across 8 versions & 1 rubygems

Version Path
bullet_train-api-1.2.26.1 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.2.27 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.2.26 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.2.25 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.2.24 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.2.23 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.2.22 app/views/account/platform/access_tokens/show.html.erb
bullet_train-api-1.2.21 app/views/account/platform/access_tokens/show.html.erb