<%=h @map.name %>

<% if @map.picture.length > 0 %>
<%= image_tag @map.picture %>
<% end %> <% if @map.download.length > 0 %> Download

<%= link_to (h @map.download), (h @map.download) %>

<% end %>

Played in Contests

<%= link_to 'Edit Map', edit_map_path(@map), class: 'button' %>