%= error_messages_for @quantity %>
<%= f.select :domain, domain_options, {required: true}, {autocomplete: 'off', data: {remote: true, url: parents_project_quantities_path(@project), params: "form=#{f.options[:html][:id]}"}} %>
<%= f.select :parent_id, parent_options(@quantity.domain), {required: true, label: :field_parent_quantity, include_blank: t('.null_parent')} %>
<%= f.text_field :name, size: 25, required: true %>
<%= f.text_field :description, style: "width: 100%;" %>
<%= f.text_field :formula, placeholder: t('.formula_placeholder'), style: "width: 100%;" %>