metamaps--metamaps/views/shared/_metacodeCssColors.html.erb
Connor Turland 36a58e4bf3 remove stuff
2018-02-15 13:47:28 -05:00

10 lines
281 B
Text

<style>
<% # give text the color of the metacode by adding the class .metacodeColor{metacode-id} %>
<% Metacode.all.each do |m| %>
<% if m.color %>
<%= ".metacodeColor" + m.id.to_s + "{" %>
<%= "color:" + m.color + " !important;" %>
<%= "}" %>
<% end %>
<% end %>
</style>