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.27 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.5.26 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.4.45 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.5.25 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.5.23 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.4.44 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.5.22 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.4.43 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.5.21 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.4.42 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.5.20 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.4.41 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.5.19 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.4.40 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.5.18 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.4.39 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.5.17 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.4.38 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.5.16 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml
workarea-admin-3.4.37 app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml