Sha256: 5e345ec624099fe340dcabc43b7e0a39f14ec06d3592c8632207cf1be70145a8

Contents?: true

Size: 541 Bytes

Versions: 6

Compression:

Stored size: 541 Bytes

Contents

%table.feature_comparison.table.table-bordered{ html_options }
  %tr
    %th= :plan_name.l
    %th= :cost.l
    - for feature in features
      %th= feature.title
    - if should_add_buttons
      %th= :subscribe.l
  - for plan in plans
    %tr{ class: highlight_plan == plan ? 'info' : ''}
      %td= plan.title
      %td= plan_charge_human plan, user_signed_in? ? current_user.stripe_data.discount : nil
      - for feature in features
        %td= feature_display feature, plan
      - if should_add_buttons
        %td= plan_button plan

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
paid_up-0.9.5 app/views/paid_up/features/_table.html.haml
paid_up-0.9.4 app/views/paid_up/features/_table.html.haml
paid_up-0.9.3 app/views/paid_up/features/_table.html.haml
paid_up-0.9.2 app/views/paid_up/features/_table.html.haml
paid_up-0.9.1 app/views/paid_up/features/_table.html.haml
paid_up-0.9.0 app/views/paid_up/features/_table.html.haml