Sha256: e83e8e0508dbbe903f4652c3cdfe19a6ddef1e2d5b7df5e95d83f22a7f5d7b65

Contents?: true

Size: 953 Bytes

Versions: 155

Compression:

Stored size: 953 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: :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

155 entries across 155 versions & 1 rubygems

Version Path
bullet_train-api-1.3.13 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.3.12 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.3.11 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.3.10 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.3.9 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.3.8 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.3.7 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.3.6 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.3.5 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.3.4 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.3.3 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.3.2 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.3.1 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.3.0 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.2.26.1 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.2.27 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.2.26 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.2.25 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.2.24 app/views/account/platform/applications/_form.html.erb
bullet_train-api-1.2.23 app/views/account/platform/applications/_form.html.erb