<%= f.field_container :variant do %> <%= f.label :variant %> <%= f.select :variant_id, @product.variants_including_master.map { |v| [v.descriptive_name, v.id] }, {}, class: "custom-select fullwidth", disabled: !f.object.new_record? %> <% end %>
<%= f.field_container :country do %> <%= f.label :country %> <%= f.field_hint :country %> <%= f.collection_select :country_iso, available_countries(restrict_to_zone: nil), :iso, :name, { include_blank: t(:any_country, scope: [:spree, :admin, :prices]) }, { class: 'custom-select fullwidth', disabled: !f.object.new_record? } %> <% end %>
<%= f.field_container :price do %> <%= f.label :price %> <%= render "spree/admin/shared/number_with_currency", f: f, amount_attr: :price, currency_attr: :currency, currency: @price.currency %> <% end %>