2014-09-16 01:57:34 +00:00
|
|
|
<div id="yield">
|
|
|
|
<div class='blackBox'>
|
|
|
|
<%= render :partial => 'admin/adminpanel' %>
|
|
|
|
<br />
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Icon</th>
|
|
|
|
<th></th>
|
|
|
|
<th></th>
|
|
|
|
</tr>
|
2014-05-17 18:57:03 +00:00
|
|
|
|
2014-09-16 01:57:34 +00:00
|
|
|
<% @metacodes.each do |metacode| %>
|
|
|
|
<tr>
|
|
|
|
<td><%= metacode.name %></td>
|
|
|
|
<td class="iconURL"><%= metacode.icon %></td>
|
|
|
|
<td><img width='40' src='<%= metacode.icon %>' /></td>
|
|
|
|
<td><%= link_to 'Edit', edit_metacode_path(metacode), :data => { :bypass => 'true'} %></td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|