module-and-template-store/app/views/shared/_stars_rank.html.erb

6 lines
359 B
Plaintext

<%= content_tag(:div, :class => "stars-rank") do %>
<%= content_tag(:div, (content_tag(:div, "", :class => "star-rating", :style => ("width: "+(10+rand(90)).to_s)+"%")), :class => "stars-container") %>
<%= content_tag(:span, :class => "stars-count") do %>
( <%= content_tag(:i, nil, :class => "icons-user") + rand(1000).to_s %> )
<% end %>
<% end %>