Sha256: c442294b47463f7867b53895da86052b64dce3c051d3c64b87aa674418420b77

Contents?: true

Size: 1.37 KB

Versions: 62

Compression:

Stored size: 1.37 KB

Contents

%fieldset.discount__rules-fields
  %legend.discount__rules-legend
    %span.discount__rules-heading Promo Code
  %p.discount__optional-node-group{ data: { discount_options_menu_application_group: { type: 'promo_code' }.to_json } }
    %span.discount__node= select_tag 'promo_code_option', options_for_select(discount.promo_code_options, discount.selected_promo_code_option), title: 'Promo Code is', data: { discount_options_menu: { type: 'promo' }.to_json }
    %span.discount__optional-node-group{ data: { discount_options_menu_promo_code_group: { type: 'promo_codes_list' }.to_json } }
      %span.discount__node
        %span.property.property--inline
          = text_field_tag 'discount[promo_codes_list]', discount.promo_codes_list, class: 'text-box text-box--medium', title: 'Promo Code', placeholder: 'SAVE20'
          = link_to '#promo-code-help', data: { tooltip: '' } do
            = inline_svg('workarea/admin/icons/help.svg', class: 'svg-icon svg-icon--small svg-icon--blue')

    %span.discount__optional-node-group{ data: { discount_options_menu_promo_code_group: { type: 'generated_codes_id' }.to_json } }
      %span.discount__node= select_tag 'discount[generated_codes_id]', options_for_select(discount.code_list_options, discount.generated_codes_id), title: 'Promo Code List'

#promo-code-help.tooltip-content
  %p= t('workarea.admin.pricing_discounts.conditions.promo_code.list_help')

Version data entries

62 entries across 62 versions & 1 rubygems

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