Sha256: 1744f0431a939a130c35f09a58880e44eab112835d243132528c0d469ecf92b0

Contents?: true

Size: 941 Bytes

Versions: 141

Compression:

Stored size: 941 Bytes

Contents

<%= form_with model: stripe_installation, url: (stripe_installation.persisted? ? [:account, stripe_installation] : [:account, @team, :integrations_stripe_installations]), 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} %>
    <%# 🚅 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, stripe_installation], class: "button-secondary" %>
    <% else %>
    <%= link_to t('global.buttons.cancel'), [:account, @team, :integrations_stripe_installations], class: "button-secondary" %>
    <% end %>
  </div>

<% end %>

Version data entries

141 entries across 141 versions & 1 rubygems

Version Path
bullet_train-integrations-stripe-1.10.0 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.9.0 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.8.5 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.8.4 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.8.3 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.8.2 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.8.1 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.8.0 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.7.23 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.7.22 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.7.21 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.7.20 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.7.19 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.7.18 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.7.17 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.7.16 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.7.15 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.7.14 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.7.13 app/views/account/integrations/stripe_installations/_form.html.erb
bullet_train-integrations-stripe-1.7.12 app/views/account/integrations/stripe_installations/_form.html.erb