-# %form.form-horizontal
.form-horizontal
  = render 'design_options/new_button', position: 0
  - @design.design_options.each_with_index do |design_option, position|
    .interactive-variable-section-container{ id: "design_option_#{design_option.id}_container" }
      = render 'design_options/show', design_option: design_option
    = render 'design_options/new_button', position: position + 1

-# %form.form-horizontal
.form-horizontal
  = render 'design_options/new_button', position: 0
  - @design.design_options.includes(:section, variable: { domain: :domain_options }).each_with_index do |design_option, position|
    .interactive-variable-section-container{ id: "design_option_#{design_option.id}_container" }
      = render 'design_options/show', design_option: design_option
    = render 'design_options/new_button', position: position + 1

Load design options more efficiently when editing designs
Load design options more efficiently when editing designs
