Sha256: 8955b1b61bea50648c36efd42b6003178b87ea2e3f809d3d6b366a8ffc0a209f
Contents?: true
Size: 560 Bytes
Versions: 55
Compression:
Stored size: 560 Bytes
Contents
= hidden_field_tag 'product_rule[name]', 'category' Name = select_tag 'product_rule[operator]', options_for_select([['equal', 'equal'], ['not equal', 'not_equal']], rule.operator) - categories = Workarea::Catalog::Category.any_in(id: rule.terms) = select_tag 'product_rule[value]', options_from_collection_for_select(categories, 'id', 'name', rule.terms), multiple: true, data: { remote_select: { source: catalog_categories_path(exclude_ids: rule.product_list.id), options: { placeholder: t('workarea.admin.product_rules.fields.category.choose') } }.to_json }
Version data entries
55 entries across 55 versions & 1 rubygems