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

Version Path
workarea-admin-3.5.15 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.4.36 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.5.14 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.4.35 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.5.13 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.4.34 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.5.12 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.4.33 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.5.11 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.5.10 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.4.32 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.5.9 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.4.31 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.5.8 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.4.30 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.5.7 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.4.29 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.5.6 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.4.28 app/views/workarea/admin/product_rules/fields/_category.html.haml
workarea-admin-3.5.5 app/views/workarea/admin/product_rules/fields/_category.html.haml