Sha256: e99987a79782b656033560205c45cf3346273dc6195c2470eebb78e84c6e92b9

Contents?: true

Size: 683 Bytes

Versions: 4

Compression:

Stored size: 683 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_gameui_marker_path(marker), method: :get
          .a= button_to 'x', 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

4 entries across 4 versions & 1 rubygems

Version Path
ish_manager-0.1.8.196 app/views/ish_manager/maps/show.haml
ish_manager-0.1.8.195 app/views/ish_manager/maps/show.haml
ish_manager-0.1.8.194 app/views/ish_manager/maps/show.haml
ish_manager-0.1.8.193 app/views/ish_manager/maps/show.haml