Sha256: d4a44f94b963ea39d7b2099c1828afb7c2975790722c90e90b4fdaf37b8c45ca

Contents?: true

Size: 517 Bytes

Versions: 1

Compression:

Stored size: 517 Bytes

Contents

.widget_promo
  .widget_promo_wrapper
    a.widget_promo_close href=""
    .widget_promo_title
      span = @title
      / = raw @first
      = raw @first.gsub(/\[(.*?)\]/, '<a href="">\1</a>')

    .widget_promo_content
      .widget_promo_content_info
        / = raw @second
        = raw @second.gsub(/\[(.*?)\]/, link_to('\1', new_order_path(discount: Settings.discount_code)))

      = link_to I18n.t(:translate_now, scope: [:layout, :button]), new_order_path(discount: Settings.discount_code), class: 'button'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/cells/shared/promo.html.slim