metamaps--metamaps/app/views/maps/show.xls.erb

23 lines
481 B
Text
Raw Normal View History

<table>
<tr>
<th>ID</th>
<th>Name</th>
<th>Metacode</th>
<th>Username</th>
<th>Permission</th>
2015-03-02 01:25:23 +00:00
<th>Synapses</th>
</tr>
<% @map.topics.each do |topic| %>
<tr>
<td><%= topic.id %></td>
<td><%= topic.name %></td>
<td><%= topic.metacode.name %></td>
<td><%= topic.user.name %></td>
<td><%= topic.permission %></td>
2015-03-02 01:25:23 +00:00
<% topic.synapses_csv.each do |s_text| %>
<td><%= s_text %></td>
<% end %>
</tr>
<% end %>
</table>