% cancel_path ||= tangible_thing.persisted? ? [:account, tangible_thing] : [:account, @absolutely_abstract_creative_concept, :completely_concrete_tangible_things] %>
<%= form_with model: tangible_thing, url: (tangible_thing.persisted? ? [:account, tangible_thing] : [:account, @absolutely_abstract_creative_concept, :completely_concrete_tangible_things]), local: true, class: 'form' do |form| %>
<%= render "shared/limits/form", form: form, cancel_path: cancel_path do %>
<%= render 'account/shared/forms/errors', form: form %>
<% with_field_settings form: form do %>
<%# 🚅 skip this section when scaffolding. %>
<%= render 'shared/fields/text_field', method: :text_field_value, options: {autofocus: true} %>
<%= render 'shared/fields/buttons', method: :boolean_button_value %>
<%= render 'shared/fields/buttons', method: :button_value %>
<%= render 'shared/fields/buttons', method: :multiple_button_values, options: {multiple: true} %>
<%= render 'shared/fields/color_picker', method: :color_picker_value, options: {color_picker_options: t('scaffolding/completely_concrete/tangible_things.fields.color_picker_value.options')} %>
<%= render 'shared/fields/cloudinary_image', method: :cloudinary_image_value %>
<%= render 'shared/fields/date_field', method: :date_field_value %>
<%= render 'shared/fields/date_and_time_field', method: :date_and_time_field_value %>
<%= render 'shared/fields/email_field', method: :email_field_value %>
<%= render 'shared/fields/file_field', method: :file_field_value %>
<%= render 'shared/fields/options', method: :option_value %>
<%= render 'shared/fields/options', method: :multiple_option_values, options: {multiple: true} %>
<%= render 'shared/fields/password_field', method: :password_field_value %>
<%= render 'shared/fields/phone_field', method: :phone_field_value %>
<%= render 'shared/fields/super_select', method: :super_select_value, other_options: {search: true} %>
<%= render 'shared/fields/super_select', method: :multiple_super_select_values, other_options: {search: true}, html_options: {multiple: true} %>
<%= render 'shared/fields/address_field', method: :address_value %>
<%= render 'shared/fields/text_area', method: :text_area_value %>
<%= render 'shared/fields/trix_editor', method: :action_text_value %>
<%# 🚅 stop any skipping we're doing now. %>
<%# 🚅 super scaffolding will insert new fields above this line. %>
<% end %>
<%= form.submit (form.object.persisted? ? t('.buttons.update') : t('.buttons.create')), class: "button" %>
<%= link_to t('global.buttons.cancel'), cancel_path, class: "button-secondary" %>
<% end %>
<% end %>