2014-02-09 23:54:45 +00:00
|
|
|
<%#
|
|
|
|
# @file
|
|
|
|
# this code generates the list of icons that will drop down in the metacode select list on the topic card
|
|
|
|
#%>
|
|
|
|
|
|
|
|
<div id="metacodeOptions">
|
|
|
|
<ul>
|
|
|
|
<% Metacode.order("name").all.each do |m| %>
|
|
|
|
<li>
|
2014-05-17 18:57:03 +00:00
|
|
|
<img width="30" height="30" src="<%= m.icon %>" alt="<%= m.name %>" />
|
2014-02-09 23:54:45 +00:00
|
|
|
<span class="mSelectName"><%= m.name %></span>
|
|
|
|
<div class="clearfloat"></div>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
</div>
|