Sha256: 78693bbc65398c020fd0eef5be78216e4537b7e371a506ee5c7c78bd6518d4e6

Contents?: true

Size: 1015 Bytes

Versions: 18

Compression:

Stored size: 1015 Bytes

Contents

<%= form_with model: application, url: (application.persisted? ? [:account, application] : [:account, @team, :platform_applications]), 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: :name, options: {autofocus: true} %>
    <%= render 'shared/fields/text_field', method: :scopes %>
    <%= render 'shared/fields/text_field', method: :redirect_uri %>
    <%# 🚅 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, application], class: "button-secondary" %>
    <% else %>
    <%= link_to t('global.buttons.cancel'), [:account, @team, :platform_applications], class: "button-secondary" %>
    <% end %>
  </div>

<% end %>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
bullet_train-api-1.1.2 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.1.1 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.1.0 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.0.17 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.0.16 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.0.15 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.0.14 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.0.13 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.0.12 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.0.8 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.0.7 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.0.6 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.0.5 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.0.4 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.0.3 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.0.2 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.0.1 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.0.0 app/views/account/platform/applications/_form.html.erb