Sha256: cb9dd872d1560ce67e78b302cd78c377f702a12a2a581a37d57da996feaa56f6

Contents?: true

Size: 782 Bytes

Versions: 1

Compression:

Stored size: 782 Bytes

Contents

/ .referal_code
  p
    ' Your referral code:
  span = @member.referral_code

  - if @member.parent_referral_code
    .refered_by
      p = t :referred_by, scope: [:account, :refferals, :text]
      input.input value="#{@member.parent_referral_code}" type="text" /
      input.input value="#{new_order_url(order: { coupon_value: @member.parent_referral_code })}" type="text" /

.referral_code
  h3 = t :referral_code, scope: [:account, :refferals, :text]
  .referral_link
    p = @member.referral_code
    - if @member.parent_referral_code
      .referral_link_code
        i = t :referred_by, scope: [:account, :refferals, :text]
        span = @member.parent_referral_code
      input value="#{new_order_url(order: { coupon_value: @member.parent_referral_code })}" type="text" /

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/views/account/referrals/_code.html.slim