Sha256: cdac25df596f39f6f4d9101eb5c613b015869789c033e1012948698f10b90182

Contents?: true

Size: 1007 Bytes

Versions: 3

Compression:

Stored size: 1007 Bytes

Contents

<%= render component_tag do %>
  <%= badge %>
  
  <div class="plan-container">
    
    <div class="plan-header">
      <h3 class="plan-name" data-role="name"><%= name %></h3>
      <p class="plan-price" data-role="price"><%= price %></p>      
      <% if qualifier.present? %>
        <p class="plan-qualifier" data-role="qualifier"><%= qualifier %></p>
      <% end %>
      <% if promo.present? %>
        <p class="plan-promo" data-role="promo"><%= promo %></p>
      <% end %>
    </div>

    <div class="plan-action" data-role="action">
      <%= action %>
    </div>

    <div class="plan-info" data-role="info">
      <p><%= content %></p>
    </div>

    <ul class="plan-benefits">
      <% @benefits.each do |benefit, info| %>
        <li class="plan-benefit">
          <%= coco_icon(negated? ? :minus : :check, size: :sm) %>
          <div class="plan-benefit-detail" data-role="benefit">
            <%= benefit %>
          </div>
        </li>  
      <% end %>
    </ul>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
coveragebook_components-0.16.0 app/components/coco/app/plan_card/plan_card.html.erb
coveragebook_components-0.15.0 app/components/coco/app/plan_card/plan_card.html.erb
coveragebook_components-0.14.0 app/components/coco/app/plan_card/plan_card.html.erb