mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-30 22:41:33 +00:00
22 lines
496 B
Text
22 lines
496 B
Text
<h1>Listing maps</h1>
|
|
|
|
<table class="striped">
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Download</th>
|
|
<th></th>
|
|
</tr>
|
|
|
|
<% @maps.each do |map| %>
|
|
<tr>
|
|
<td><%= namelink map %></td>
|
|
<td><%= h map.download %></td>
|
|
<td class="actions">
|
|
<%= link_to icon('pencil'), edit_map_path(map) %>
|
|
<%= link_to icon('times'), map, confirm: 'Are you sure?', method: :delete %>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</table>
|
|
|
|
<%= link_to 'New Map', new_map_path, class: 'button' %>
|