Sha256: 725e11c6a8d7157b1277017775d35ee4dfbfa93ddaa959c05f697653e2e98779

Contents?: true

Size: 894 Bytes

Versions: 155

Compression:

Stored size: 894 Bytes

Contents

<%= form_with model: access_token, url: (access_token.persisted? ? [:account, access_token] : [:account, @application, :access_tokens]), local: true, class: 'form' do |form| %>
  <%= render 'account/shared/forms/errors', form: form %>

  <% with_field_settings form: form do %>
    <%= render 'shared/fields/text_field', method: :description, options: {autofocus: true} %>
    <%# 🚅 super scaffolding will insert new fields above this line. %>
  <% end %>

  <div class="buttons">
    <%= form.submit (form.object.persisted? ? t('.buttons.update') : t('.buttons.create')), class: "button" %>
    <% if form.object.persisted? %>
    <%= link_to t('global.buttons.cancel'), [:account, access_token], class: "button-secondary" %>
    <% else %>
    <%= link_to t('global.buttons.cancel'), [:account, @application, :access_tokens], class: "button-secondary" %>
    <% end %>
  </div>

<% end %>

Version data entries

155 entries across 155 versions & 1 rubygems

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