Sha256: e8e97deca13b893ac2caea0c99f5743509a33ac860bd4a3befe8b1ecc49a376e
Contents?: true
Size: 1.81 KB
Versions: 33
Compression:
Stored size: 1.81 KB
Contents
<%= render 'account/shared/page' do |p| %> <% p.content_for :title, t('.section') %> <% p.content_for :body do %> <%= updates_for @access_token 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, @access_token %> <% end %> <% p.content_for :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 %> <% p.content_for :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 %> <% p.content_for :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
33 entries across 33 versions & 1 rubygems