Sha256: 0ff3121107f271ee067da26dde563158c013abde4107ba260f0cdf11dceab3af
Contents?: true
Size: 732 Bytes
Versions: 1
Compression:
Stored size: 732 Bytes
Contents
<p class="name"><%= plan.name %></p> <p class="price"><% if plan.billed? %>$<%= plan.price %>/month<% else %>Free<% end %></p> <ul class="features"> <% 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 %> <% if plan.trial? -%> <li class="trial"><%= t(".trial_will_expire", :default => "Your trial will expire after 30 days.") %></li> <% end -%> </ul>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
saucy-0.2.21 | app/views/plans/_plan.html.erb |