metamaps--metamaps/app/views/shared/_metacodeBgColors.html.erb
2014-10-16 21:03:11 -04:00

9 lines
189 B
Plaintext

<style>
<% Metacode.all.each do |m| %>
<% if m.color %>
<%= ".mbg" + m.id.to_s + "{" %>
<%= "background-color:" + m.color + " !important;" %>
<%= "}" %>
<% end %>
<% end %>
</style>