Sha256: 1f019d54f496ed732df7c0f240f6f125a45ebff96f3b375f60322adf8bf64ac4

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 Bytes

Contents

<div class="content_editor essence_spree_product essence_select">
  <%= content_label(content) %>
  <%= select_tag(
    content.form_field_name,
    options_from_collection_for_select(
      local_assigns.fetch(:options, {})[:products] || Spree::Product.not_deleted,
      :id,
      :name,
      content.essence.spree_product_id
    ),
    include_blank: t(".none"),
    class: ["alchemy_selectbox", "essence_editor_select", html_options[:class]].join(' '),
    style: html_options[:style]
  ) %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alchemy_spree-2.0.0.beta app/views/alchemy/essences/_essence_spree_product_editor.html.erb