Skip to content

Instantly share code, notes, and snippets.

@sandsu
Created December 5, 2012 19:06
Show Gist options
  • Save sandsu/4218549 to your computer and use it in GitHub Desktop.
Save sandsu/4218549 to your computer and use it in GitHub Desktop.
<% if rand(5) % 4 == 1 %>
<%= content_tag(:b, "beta", :class => "beta bubble") %>
<% elsif rand(5) % 4 == 1 %>
<%= content_tag(:b, "pendente", :class => "payment bubble") %>
<% elsif rand(5) % 4 == 1 %>
<%= content_tag(:b, "inativa", :class => "inactive bubble") %>
<% else %>
<%= content_tag(:b, "em dia", :class => "bubble") %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment