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