metamaps--metamaps/app/views/shared/_metacodeBgColors.html.erb

10 lines
179 B
Plaintext
Raw Normal View History

<style>
<% Metacode.all.each do |m| %>
<% if m.color %>
<%= ".mbg" + m.id.to_s + "{" %>
2017-09-08 20:58:17 +00:00
<%= "color:" + m.color + " !important;" %>
<%= "}" %>
<% end %>
<% end %>
2017-09-08 20:58:17 +00:00
</style>