Sha256: e3d57309fab13184e8dc37165cf8b7a7b3b516971132ae9f92f81dbfdc64a953

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

.extras_cabinet_item
  .content_title
    h2 = feature.title
    .content_toggle
    /! TODO
    / span Hot Deal! 15% OFF for this service
    / .content_timer
      .content_timer_item
        span days
        strong 666
      .content_timer_item
        span hours
        strong 66
      .content_timer_item
        span minutes
        strong 66
      .content_timer_item
        span seconds
        strong 66
  .extras_cabinet_item_wrapper
    = raw feature.content
    .extras_cabinet_steps
      h3 = feature.subtitle
      .extras_cabinet_steps_content

        - (1..3).to_a.each do |step|
          - step_icon = feature.try("step_#{step}_icon_id")
          - step_title = feature.try("step_#{step}_title")
          - unless step_icon.blank?
            .extras_cabinet_steps_item
              = image_tag "cabinet/extras_cabinet#{step_icon}.png"
              span
                - if step_title.blank?
                  = ExtraIconType.find_by_id(step_icon).title
                - else
                  = step_title

      = link_to t(:new_order, scope: [:account, :extras, :button]), new_order_path(feature.order_params), class: 'button'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/views/account/extras/_feature.html.slim