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