Sha256: ba6f6033d232d1fb3b58f5915d4e49c3fecbe9cf64d35e69fc5c28aa6096f42d

Contents?: true

Size: 952 Bytes

Versions: 39

Compression:

Stored size: 952 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 %{days_until_expiration} days.",
            :days_until_expiration => days_until_expiration) %>
    </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| %>
      <%= content_tag_for :li, limit, :class => limit.name do %>
        <% if limit.allowed? -%>
          <%= limit.name %>
        <% else %>
          &nbsp;
        <% end -%>
      <% end -%>
    <% end %>
  <% end -%>
</ul>

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
saucy-0.16.1 app/views/plans/_plan.html.erb
saucy-0.16.0 app/views/plans/_plan.html.erb
saucy-0.15.2 app/views/plans/_plan.html.erb
saucy-0.15.1 app/views/plans/_plan.html.erb
saucy-0.15.0 app/views/plans/_plan.html.erb
saucy-0.14.5 app/views/plans/_plan.html.erb
saucy-0.14.3 app/views/plans/_plan.html.erb
saucy-0.10.10 app/views/plans/_plan.html.erb
saucy-0.14.2 app/views/plans/_plan.html.erb
saucy-0.14.1 app/views/plans/_plan.html.erb
saucy-0.14.0 app/views/plans/_plan.html.erb
saucy-0.13.3 app/views/plans/_plan.html.erb
saucy-0.13.2 app/views/plans/_plan.html.erb
saucy-0.10.9 app/views/plans/_plan.html.erb
saucy-0.10.8 app/views/plans/_plan.html.erb
saucy-0.13.1 app/views/plans/_plan.html.erb
saucy-0.13.0 app/views/plans/_plan.html.erb
saucy-0.12.5 app/views/plans/_plan.html.erb
saucy-0.12.4 app/views/plans/_plan.html.erb
saucy-0.12.3 app/views/plans/_plan.html.erb