Sha256: f563472d0faaa832f10e94ed6212c420d917bf598fb008157b0f03ee3d18c72e
Contents?: true
Size: 951 Bytes
Versions: 45
Compression:
Stored size: 951 Bytes
Contents
<%= form_with model: [:account, (@team unless creative_concept.persisted?), creative_concept], 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_area', method: :description %> <%# 🚅 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, creative_concept], class: "button-secondary" %> <% else %> <%= link_to t('global.buttons.cancel'), [:account, @team, :scaffolding, :absolutely_abstract, :creative_concepts], class: "button-secondary" %> <% end %> </div> <% end %>
Version data entries
45 entries across 45 versions & 2 rubygems