Sha256: 737a0bc7186a6302f05dfe1f6bd4f894bbf4e7bb41b82398e7c669b4340393f8
Contents?: true
Size: 689 Bytes
Versions: 45
Compression:
Stored size: 689 Bytes
Contents
.maps-show = render 'map_flat_row', map: @map .descr= @map.description .the-map = image_tag @map.img_path, width: @map.w - @map.markers.each do |marker| .marker{ style: "position: absolute; left: #{marker.x}px; top: #{marker.y}px;" }= image_tag marker.img_path .markers-list - @map.markers.each do |marker| .item .flat-row .a= marker.slug .a= button_to '~', edit_marker_path(marker), method: :get .a= button_to 'x', marker_path(marker), method: :delete, data: { confirm: 'Are you sure?' } .a= link_to '[api]', api_marker_path(marker) %ul.bullets %li <b>item_type:</b> #{marker.item_type}
Version data entries
45 entries across 45 versions & 1 rubygems