Sha256: 02c3ad602fa5e1b6f657c422f83f5e4699765b7c52cd92d6bc8663a549ffc615
Contents?: true
Size: 691 Bytes
Versions: 4
Compression:
Stored size: 691 Bytes
Contents
<% if app.application_categories.any? %> <% app.application_categories.each do |ac| %> <div style="padding-bottom:1px;"> <%=ac.category.full_name.html_safe%> <%= ac.featured? ? raw("<strong>(featured)</strong>") : "" %> - <% html = [] if ac.featured? html << link_to_function("Unfeature", "makeFeatured(#{app.id}, #{ac.id}, false)") else html << link_to_function("Feature", "makeFeatured(#{app.id}, #{ac.id}, true)") end html << link_to_function("Delete", "assignCategory(#{app.id}, #{ac.category.id}, false)") %> <%=html.join(" | ").html_safe%> </div> <% end %> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems