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