Sha256: 41328bddddf223991a8276bc27188508212f75d354842765173556dcf2f06cb8

Contents?: true

Size: 836 Bytes

Versions: 32

Compression:

Stored size: 836 Bytes

Contents

<p class="name"><%= plan.name %></p>
<p class="price">
  <% if plan.billed? %>
    $<%= plan.price %>/month
  <% else %>
    Free
  <% end %>
  <% if plan.trial? %>
    Trial
  <% end -%>
</p>
<ul class="features">
  <% if plan.trial? -%>
    <li class="trial"><%= t(".trial_will_expire",
                            :default => "Your trial will expire after 30 days.") %></li>
  <% else -%>
    <% plan.limits.numbered.each do |limit| %>
      <%= content_tag_for :li, limit, :class => limit.name do %>
        <%= pluralize(limit.value, limit.name.singularize) %>
      <% end %>
    <% end %>
    <% plan.limits.boolean.each do |limit| %>
      <% if limit.allowed? -%>
        <%= content_tag_for :li, limit, :class => limit.name do %>
          <%= limit.name %>
        <% end %>
      <% end -%>
    <% end %>
  <% end -%>
</ul>

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
saucy-0.2.28.1 app/views/plans/_plan.html.erb
saucy-0.4.3 app/views/plans/_plan.html.erb
saucy-0.4.2 app/views/plans/_plan.html.erb
saucy-0.4.1 app/views/plans/_plan.html.erb
saucy-0.3.4.1 app/views/plans/_plan.html.erb
saucy-0.4.0 app/views/plans/_plan.html.erb
saucy-0.3.4 app/views/plans/_plan.html.erb
saucy-0.3.3 app/views/plans/_plan.html.erb
saucy-0.3.2 app/views/plans/_plan.html.erb
saucy-0.3.1 app/views/plans/_plan.html.erb
saucy-0.3.0 app/views/plans/_plan.html.erb
saucy-0.2.45 app/views/plans/_plan.html.erb
saucy-0.2.44 app/views/plans/_plan.html.erb
saucy-0.2.43 app/views/plans/_plan.html.erb
saucy-0.2.42 app/views/plans/_plan.html.erb
saucy-0.2.41 app/views/plans/_plan.html.erb
saucy-0.2.40 app/views/plans/_plan.html.erb
saucy-0.2.39 app/views/plans/_plan.html.erb
saucy-0.2.38 app/views/plans/_plan.html.erb
saucy-0.2.36 app/views/plans/_plan.html.erb