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.12.2 app/views/plans/_plan.html.erb
saucy-0.12.1 app/views/plans/_plan.html.erb
saucy-0.12.0 app/views/plans/_plan.html.erb
saucy-0.11.5 app/views/plans/_plan.html.erb
saucy-0.11.3 app/views/plans/_plan.html.erb
saucy-0.11.2 app/views/plans/_plan.html.erb
saucy-0.10.7 app/views/plans/_plan.html.erb
saucy-0.10.6 app/views/plans/_plan.html.erb
saucy-0.10.5 app/views/plans/_plan.html.erb
saucy-0.10.4 app/views/plans/_plan.html.erb
saucy-0.10.3 app/views/plans/_plan.html.erb
saucy-0.10.2 app/views/plans/_plan.html.erb
saucy-0.10.1 app/views/plans/_plan.html.erb
saucy-0.10.0 app/views/plans/_plan.html.erb
saucy-0.9.1 app/views/plans/_plan.html.erb
saucy-0.9.0 app/views/plans/_plan.html.erb
saucy-0.8.5 app/views/plans/_plan.html.erb
saucy-0.8.4 app/views/plans/_plan.html.erb
saucy-0.8.3 app/views/plans/_plan.html.erb